ActiveRecord::SchemaMigration Load (3.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (23.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1 [["LIMIT", 1]]  (0.3ms) BEGIN SQL (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-05-03 14:50:13 UTC], ["updated_at", 2016-05-03 14:50:13 UTC]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (341.0ms) DROP DATABASE IF EXISTS "dummy_test"  (408.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (8.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (4.7ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.3ms) SELECT pg_try_advisory_lock(2735718569030447490); ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.3ms) BEGIN  (14.0ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (3.6ms)  ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE  SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415210052"]]  (1.3ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.5ms) BEGIN  (6.5ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.5ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.9ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT fk_content_modules_tools FOREIGN KEY (bit_core_tool_id) REFERENCES bit_core_tools(id)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415211458"]]  (0.6ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.8ms) BEGIN  (6.0ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.6ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.4ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_core_content_module_id) REFERENCES bit_core_content_modules(id)  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415213346"]]  (0.9ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.7ms) BEGIN  (15.5ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140417173056"]]  (0.9ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.5ms) BEGIN  (8.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.8ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (2.9ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT fk_slideshows_slides FOREIGN KEY (bit_core_slideshow_id) REFERENCES bit_core_slideshows(id)  SQL (1.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140417174159"]]  (1.1ms) COMMIT Migrating to AddOptionsToSlides (20140620174146)  (1.2ms) BEGIN  (2.7ms) ALTER TABLE "bit_core_slides" ADD "options" text SQL (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620174146"]]  (0.7ms) COMMIT Migrating to AddConfigFieldsToProviders (20140620174147)  (0.3ms) BEGIN  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD "locals" text SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620174147"]]  (0.7ms) COMMIT Migrating to AddTypeToContentModules (20140625133118)  (0.4ms) BEGIN  (0.8ms) ALTER TABLE "bit_core_content_modules" ADD "type" character varying SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140625133118"]]  (0.6ms) COMMIT Migrating to CreateBitCoreArms (20141205202720)  (0.5ms) BEGIN  (10.2ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202720"]]  (1.6ms) COMMIT Migrating to AddArmIdToBitCoreSlideshows (20141205202724)  (1.0ms) BEGIN  (1.1ms) ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL  (3.9ms)  ALTER TABLE bit_core_slideshows ADD CONSTRAINT fk_bit_core_slideshows_arms FOREIGN KEY (arm_id) REFERENCES arms(id)  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202724"]]  (0.6ms) COMMIT Migrating to AddArmIdToBitCoreTools (20141205202740)  (0.4ms) BEGIN  (0.7ms) ALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL  (2.4ms)  ALTER TABLE bit_core_tools ADD CONSTRAINT fk_bit_core_tools_arms FOREIGN KEY (arm_id) REFERENCES arms(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202740"]]  (0.5ms) COMMIT Migrating to AddTypeToTools (20150130155627)  (0.3ms) BEGIN  (0.6ms) ALTER TABLE "bit_core_tools" ADD "type" character varying SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150130155627"]]  (0.3ms) COMMIT Migrating to AddIsVizToContentModules (20150131195914)  (0.2ms) BEGIN  (8.4ms) ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150131195914"]]  (1.7ms) COMMIT Migrating to AddToolConstraint (20150210161229)  (0.5ms) BEGIN BitCore::Tool Load (0.7ms) SELECT "bit_core_tools".* FROM "bit_core_tools"  (2.1ms)  ALTER TABLE bit_core_tools ADD CONSTRAINT fk_tools_arms FOREIGN KEY (arm_id) REFERENCES arms(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150210161229"]]  (0.7ms) COMMIT Migrating to ChangeShowNextNavColumnDefault (20160311210938)  (0.3ms) BEGIN  (0.8ms) ALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT 'f'  (0.4ms) ALTER TABLE "bit_core_content_providers" ALTER "show_next_nav" SET NOT NULL SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160311210938"]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1 [["LIMIT", 1]]  (0.3ms) BEGIN SQL (1.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-05-03 14:50:18 UTC], ["updated_at", 2016-05-03 14:50:18 UTC]]  (0.6ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(2735718569030447490) ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_content_modules' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_content_providers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_slides' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_slideshows' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_tools' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.2ms) BEGIN  (2.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.5ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:50:24.492516', '2016-05-03 14:50:24.492516', 504123193, 874964629) Fixture Delete (0.8ms) DELETE FROM "bit_core_slides" Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:50:24.512918', '2016-05-03 14:50:24.512918', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:50:24.512918', '2016-05-03 14:50:24.512918', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:50:24.512918', '2016-05-03 14:50:24.512918', 236740868, 504123193)  (0.4ms) COMMIT  (0.2ms) BEGIN  (1.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.4ms) COMMIT  (0.1ms) BEGIN BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.7ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 958091673]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]] SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]] SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::ContentProvider Load (1.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]] SQL (1.8ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (1.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:50:24 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.9ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.9ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (1.0ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (1.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.4ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "bit_core_tools" Fixture Insert (1.0ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:50:24.855234', '2016-05-03 14:50:24.855234', 836111569, 874964629) Fixture Delete (1.9ms) DELETE FROM "bit_core_content_modules" Fixture Insert (1.1ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:50:24.870238', '2016-05-03 14:50:24.870238', 437912910, 836111569) Fixture Insert (0.9ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:50:24.870238', '2016-05-03 14:50:24.870238', 511237275, 836111569) Fixture Delete (0.6ms) DELETE FROM "bit_core_content_providers" Fixture Insert (0.8ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:50:24.890603', '2016-05-03 14:50:24.890603', 555816777, 437912910) Fixture Insert (0.6ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:50:24.890603', '2016-05-03 14:50:24.890603', 46790607, 511237275)  (0.4ms) COMMIT  (0.3ms) BEGIN  (1.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.4ms) COMMIT  (0.2ms) BEGIN BitCore::ContentModule Load (0.8ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.9ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (2.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.6ms) COMMIT  (0.3ms) BEGIN Fixture Delete (1.1ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.5ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:52:25.913345', '2016-05-03 14:52:25.913345', 504123193, 874964629) Fixture Delete (1.1ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:52:25.947838', '2016-05-03 14:52:25.947838', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:52:25.947838', '2016-05-03 14:52:25.947838', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:52:25.947838', '2016-05-03 14:52:25.947838', 236740868, 504123193)  (0.5ms) COMMIT  (0.2ms) BEGIN  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.4ms) COMMIT  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (3.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.5ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "bit_core_tools" Fixture Insert (0.4ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:52:26.116522', '2016-05-03 14:52:26.116522', 836111569, 874964629) Fixture Delete (8.7ms) DELETE FROM "bit_core_content_modules" Fixture Insert (0.6ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:52:26.130737', '2016-05-03 14:52:26.130737', 437912910, 836111569) Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:52:26.130737', '2016-05-03 14:52:26.130737', 511237275, 836111569) Fixture Delete (1.6ms) DELETE FROM "bit_core_content_providers" Fixture Insert (0.7ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:52:26.155199', '2016-05-03 14:52:26.155199', 555816777, 437912910) Fixture Insert (0.7ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:52:26.155199', '2016-05-03 14:52:26.155199', 46790607, 511237275)  (0.4ms) COMMIT  (0.2ms) BEGIN  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.5ms) COMMIT  (0.1ms) BEGIN BitCore::ContentModule Load (0.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN BitCore::Slideshow Load (1.0ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.9ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (1.1ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.4ms) SAVEPOINT active_record_1 BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] SQL (0.9ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.7ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 958091673]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.7ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]] SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.7ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]] SQL (0.8ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.9ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 236740868]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 538050605]] BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:52:26 UTC], ["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.7ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_tools" Fixture Insert (0.5ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:52:48.696886', '2016-05-03 14:52:48.696886', 836111569, 874964629) Fixture Delete (0.8ms) DELETE FROM "bit_core_content_modules" Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:52:48.713430', '2016-05-03 14:52:48.713430', 437912910, 836111569) Fixture Insert (0.3ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:52:48.713430', '2016-05-03 14:52:48.713430', 511237275, 836111569) Fixture Delete (1.2ms) DELETE FROM "bit_core_content_providers" Fixture Insert (0.6ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:52:48.730733', '2016-05-03 14:52:48.730733', 555816777, 437912910) Fixture Insert (0.5ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:52:48.730733', '2016-05-03 14:52:48.730733', 46790607, 511237275)  (0.5ms) COMMIT  (0.2ms) BEGIN  (2.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.6ms) COMMIT  (0.1ms) BEGIN BitCore::ContentModule Load (0.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.5ms) COMMIT  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:52:48.790237', '2016-05-03 14:52:48.790237', 504123193, 874964629) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:52:48.796479', '2016-05-03 14:52:48.796479', 538050605, 504123193) Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:52:48.796479', '2016-05-03 14:52:48.796479', 958091673, 504123193) Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:52:48.796479', '2016-05-03 14:52:48.796479', 236740868, 504123193)  (0.4ms) COMMIT  (0.1ms) BEGIN  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.5ms) COMMIT  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (1.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (1.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (1.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]  (0.7ms) ROLLBACK  (7.4ms) BEGIN BitCore::Slideshow Load (1.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.3ms) SAVEPOINT active_record_1 BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] SQL (0.9ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 958091673]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.0ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]] SQL (0.6ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::ContentProvider Load (0.6ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]] SQL (0.9ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (1.0ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:52:48 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (2.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (2.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.6ms) COMMIT  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.5ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:53:12.452208', '2016-05-03 14:53:12.452208', 504123193, 874964629) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:53:12.462203', '2016-05-03 14:53:12.462203', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:53:12.462203', '2016-05-03 14:53:12.462203', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:53:12.462203', '2016-05-03 14:53:12.462203', 236740868, 504123193)  (0.5ms) COMMIT  (0.1ms) BEGIN  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.5ms) COMMIT  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (4.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.9ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (1.1ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (1.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.0ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.7ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.1ms) SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 958091673]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.0ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::ContentProvider Load (1.2ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]] SQL (1.4ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.8ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.8ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (1.0ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.3ms) BEGIN BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 236740868]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.9ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:53:12 UTC], ["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (1.3ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.6ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_tools" Fixture Insert (0.4ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:53:12.765948', '2016-05-03 14:53:12.765948', 836111569, 874964629) Fixture Delete (0.7ms) DELETE FROM "bit_core_content_modules" Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:53:12.776484', '2016-05-03 14:53:12.776484', 437912910, 836111569) Fixture Insert (0.4ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:53:12.776484', '2016-05-03 14:53:12.776484', 511237275, 836111569) Fixture Delete (0.6ms) DELETE FROM "bit_core_content_providers" Fixture Insert (0.8ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:53:12.789189', '2016-05-03 14:53:12.789189', 555816777, 437912910) Fixture Insert (0.4ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:53:12.789189', '2016-05-03 14:53:12.789189', 46790607, 511237275)  (0.5ms) COMMIT  (0.1ms) BEGIN  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.5ms) COMMIT  (0.2ms) BEGIN BitCore::ContentModule Load (0.9ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.9ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.7ms) BEGIN BitCore::ContentModule Load (0.6ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.6ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (1.1ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (1.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.6ms) COMMIT  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.4ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-05-03 14:54:36.265275', '2016-05-03 14:54:36.265275', 504123193, 874964629) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-05-03 14:54:36.272602', '2016-05-03 14:54:36.272602', 538050605, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-05-03 14:54:36.272602', '2016-05-03 14:54:36.272602', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-05-03 14:54:36.272602', '2016-05-03 14:54:36.272602', 236740868, 504123193)  (0.5ms) COMMIT  (0.1ms) BEGIN  (1.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.5ms) COMMIT  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (0.6ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (1.0ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (1.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.5ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_tools" Fixture Insert (0.4ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-05-03 14:54:36.341764', '2016-05-03 14:54:36.341764', 836111569, 874964629) Fixture Delete (1.6ms) DELETE FROM "bit_core_content_modules" Fixture Insert (0.7ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-05-03 14:54:36.352594', '2016-05-03 14:54:36.352594', 437912910, 836111569) Fixture Insert (0.5ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-05-03 14:54:36.352594', '2016-05-03 14:54:36.352594', 511237275, 836111569) Fixture Delete (0.5ms) DELETE FROM "bit_core_content_providers" Fixture Insert (0.4ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:54:36.370932', '2016-05-03 14:54:36.370932', 555816777, 437912910) Fixture Insert (0.3ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-05-03 14:54:36.370932', '2016-05-03 14:54:36.370932', 46790607, 511237275)  (0.5ms) COMMIT  (0.1ms) BEGIN  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.4ms) COMMIT  (0.1ms) BEGIN BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 ORDER BY "bit_core_content_providers"."id" ASC LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.8ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 958091673]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]] SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.9ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::ContentProvider Load (0.6ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]] SQL (1.6ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 538050605]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-05-03 14:54:36 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.8ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.9ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (31.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1 [["LIMIT", 1]]  (0.2ms) BEGIN SQL (3.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-06-10 18:20:42 UTC], ["updated_at", 2016-06-10 18:20:42 UTC]]  (0.5ms) COMMIT ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (150.0ms) DROP DATABASE IF EXISTS "dummy_test"  (430.1ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (17.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (4.9ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.3ms) SELECT pg_try_advisory_lock(2735718569030447490); ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.3ms) BEGIN  (8.7ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (3.7ms)  ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE  SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415210052"]]  (0.8ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.4ms) BEGIN  (6.6ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.6ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (5.0ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT fk_content_modules_tools FOREIGN KEY (bit_core_tool_id) REFERENCES bit_core_tools(id)  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415211458"]]  (2.0ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.5ms) BEGIN  (7.6ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (2.2ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.5ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_core_content_module_id) REFERENCES bit_core_content_modules(id)  SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415213346"]]  (0.7ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.6ms) BEGIN  (7.1ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140417173056"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.4ms) BEGIN  (7.1ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.9ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (1.9ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT fk_slideshows_slides FOREIGN KEY (bit_core_slideshow_id) REFERENCES bit_core_slideshows(id)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140417174159"]]  (0.8ms) COMMIT Migrating to AddOptionsToSlides (20140620174146)  (0.7ms) BEGIN  (0.6ms) ALTER TABLE "bit_core_slides" ADD "options" text SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620174146"]]  (0.5ms) COMMIT Migrating to AddConfigFieldsToProviders (20140620174147)  (0.2ms) BEGIN  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying  (0.7ms) ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text  (0.8ms) ALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean  (0.6ms) ALTER TABLE "bit_core_content_providers" ADD "locals" text SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620174147"]]  (0.4ms) COMMIT Migrating to AddTypeToContentModules (20140625133118)  (0.2ms) BEGIN  (0.6ms) ALTER TABLE "bit_core_content_modules" ADD "type" character varying SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140625133118"]]  (0.4ms) COMMIT Migrating to CreateBitCoreArms (20141205202720)  (0.2ms) BEGIN  (4.7ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp) SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202720"]]  (0.5ms) COMMIT Migrating to AddArmIdToBitCoreSlideshows (20141205202724)  (0.5ms) BEGIN  (0.6ms) ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL  (2.8ms)  ALTER TABLE bit_core_slideshows ADD CONSTRAINT fk_bit_core_slideshows_arms FOREIGN KEY (arm_id) REFERENCES arms(id)  SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202724"]]  (1.2ms) COMMIT Migrating to AddArmIdToBitCoreTools (20141205202740)  (0.5ms) BEGIN  (1.0ms) ALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL  (7.9ms)  ALTER TABLE bit_core_tools ADD CONSTRAINT fk_bit_core_tools_arms FOREIGN KEY (arm_id) REFERENCES arms(id)  SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202740"]]  (0.7ms) COMMIT Migrating to AddTypeToTools (20150130155627)  (0.3ms) BEGIN  (0.9ms) ALTER TABLE "bit_core_tools" ADD "type" character varying SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150130155627"]]  (0.5ms) COMMIT Migrating to AddIsVizToContentModules (20150131195914)  (0.3ms) BEGIN  (11.5ms) ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150131195914"]]  (1.4ms) COMMIT Migrating to AddToolConstraint (20150210161229)  (1.7ms) BEGIN BitCore::Tool Load (1.0ms) SELECT "bit_core_tools".* FROM "bit_core_tools"  (1.9ms)  ALTER TABLE bit_core_tools ADD CONSTRAINT fk_tools_arms FOREIGN KEY (arm_id) REFERENCES arms(id)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150210161229"]]  (0.5ms) COMMIT Migrating to ChangeShowNextNavColumnDefault (20160311210938)  (0.2ms) BEGIN  (1.2ms) ALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT 'f'  (0.5ms) ALTER TABLE "bit_core_content_providers" ALTER "show_next_nav" SET NOT NULL SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160311210938"]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1 [["LIMIT", 1]]  (0.4ms) BEGIN SQL (0.8ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-06-10 18:20:47 UTC], ["updated_at", 2016-06-10 18:20:47 UTC]]  (0.4ms) COMMIT  (0.3ms) SELECT pg_advisory_unlock(2735718569030447490) ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_content_modules' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_content_providers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_slides' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_slideshows' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_tools' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.2ms) BEGIN  (3.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.6ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-10 18:20:52.190207', '2016-06-10 18:20:52.190207', 504123193, 874964629) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (0.9ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-10 18:20:52.213403', '2016-06-10 18:20:52.213403', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-10 18:20:52.213403', '2016-06-10 18:20:52.213403', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-10 18:20:52.213403', '2016-06-10 18:20:52.213403', 236740868, 504123193)  (0.5ms) COMMIT  (0.2ms) BEGIN  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.4ms) COMMIT  (0.2ms) BEGIN BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-10 18:20:52 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.4ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-06-10 18:20:52 UTC], ["id", 958091673]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-10 18:20:52 UTC], ["id", 236740868]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-06-10 18:20:52 UTC], ["id", 236740868]] SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]] SQL (0.9ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-06-10 18:20:52 UTC], ["id", 236740868]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-10 18:20:52 UTC], ["id", 538050605]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-06-10 18:20:52 UTC], ["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-10 18:20:52 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.4ms) COMMIT  (0.3ms) BEGIN Fixture Delete (1.9ms) DELETE FROM "bit_core_tools" Fixture Insert (0.8ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-06-10 18:20:52.484391', '2016-06-10 18:20:52.484391', 836111569, 874964629) Fixture Delete (1.1ms) DELETE FROM "bit_core_content_modules" Fixture Insert (2.6ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-06-10 18:20:52.495585', '2016-06-10 18:20:52.495585', 437912910, 836111569) Fixture Insert (0.6ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-06-10 18:20:52.495585', '2016-06-10 18:20:52.495585', 511237275, 836111569) Fixture Delete (0.5ms) DELETE FROM "bit_core_content_providers" Fixture Insert (0.8ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-06-10 18:20:52.512474', '2016-06-10 18:20:52.512474', 555816777, 437912910) Fixture Insert (0.4ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-06-10 18:20:52.512474', '2016-06-10 18:20:52.512474', 46790607, 511237275)  (0.4ms) COMMIT  (0.3ms) BEGIN  (1.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.4ms) COMMIT  (0.1ms) BEGIN BitCore::ContentModule Load (0.5ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.6ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.5ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (1.1ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (1.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (2.5ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-10 18:39:15.868961', '2016-06-10 18:39:15.868961', 504123193, 874964629) Fixture Delete (1.2ms) DELETE FROM "bit_core_slides" Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-10 18:39:15.884063', '2016-06-10 18:39:15.884063', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-10 18:39:15.884063', '2016-06-10 18:39:15.884063', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-10 18:39:15.884063', '2016-06-10 18:39:15.884063', 236740868, 504123193)  (0.6ms) COMMIT  (0.2ms) BEGIN  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.5ms) COMMIT  (0.1ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-10 18:39:15 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.8ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-10 18:39:16 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.7ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (6.3ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (1.2ms) SAVEPOINT active_record_1 BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] SQL (0.7ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.8ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-06-10 18:39:16 UTC], ["id", 958091673]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-10 18:39:16 UTC], ["id", 236740868]] SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.1ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-06-10 18:39:16 UTC], ["id", 236740868]] SQL (0.6ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.7ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::ContentProvider Load (0.9ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]] SQL (1.3ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-06-10 18:39:16 UTC], ["id", 236740868]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-10 18:39:16 UTC], ["id", 538050605]] BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-06-10 18:39:16 UTC], ["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (1.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (2.6ms) COMMIT  (0.4ms) BEGIN Fixture Delete (1.3ms) DELETE FROM "bit_core_tools" Fixture Insert (0.5ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-06-10 18:39:16.131646', '2016-06-10 18:39:16.131646', 836111569, 874964629) Fixture Delete (0.6ms) DELETE FROM "bit_core_content_modules" Fixture Insert (0.3ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-06-10 18:39:16.143603', '2016-06-10 18:39:16.143603', 437912910, 836111569) Fixture Insert (0.2ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-06-10 18:39:16.143603', '2016-06-10 18:39:16.143603', 511237275, 836111569) Fixture Delete (0.4ms) DELETE FROM "bit_core_content_providers" Fixture Insert (0.3ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-06-10 18:39:16.158892', '2016-06-10 18:39:16.158892', 555816777, 437912910) Fixture Insert (0.3ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-06-10 18:39:16.158892', '2016-06-10 18:39:16.158892', 46790607, 511237275)  (0.5ms) COMMIT  (0.1ms) BEGIN  (1.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.5ms) COMMIT  (0.1ms) BEGIN BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (9.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (2.3ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:40:07.026295', '2016-06-15 13:40:07.026295', 504123193, 874964629) Fixture Delete (1.1ms) DELETE FROM "bit_core_slides" Fixture Insert (1.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:40:07.057086', '2016-06-15 13:40:07.057086', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:40:07.057086', '2016-06-15 13:40:07.057086', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:40:07.057086', '2016-06-15 13:40:07.057086', 236740868, 504123193)  (0.6ms) COMMIT  (0.1ms) BEGIN  (5.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.6ms) COMMIT  (0.2ms) BEGIN  (0.8ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Exists (4.9ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (2.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (1.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (4.8ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (2.0ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.3ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:40:07 UTC], ["id", 236740868]]  (0.8ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.8ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.5ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (9.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (8.5ms) COMMIT  (0.5ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:42:31.749637', '2016-06-15 13:42:31.749637', 504123193, 874964629) Fixture Delete (0.5ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:42:31.781491', '2016-06-15 13:42:31.781491', 538050605, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:42:31.781491', '2016-06-15 13:42:31.781491', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:42:31.781491', '2016-06-15 13:42:31.781491', 236740868, 504123193)  (0.5ms) COMMIT  (0.1ms) BEGIN  (5.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.7ms) COMMIT  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Exists (1.0ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.5ms) SAVEPOINT active_record_1 SQL (4.1ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.7ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:42:31 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.8ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (7.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (6.8ms) COMMIT  (0.5ms) BEGIN Fixture Delete (1.2ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:44:00.712583', '2016-06-15 13:44:00.712583', 504123193, 874964629) Fixture Delete (0.9ms) DELETE FROM "bit_core_slides" Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:44:00.740528', '2016-06-15 13:44:00.740528', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:44:00.740528', '2016-06-15 13:44:00.740528', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:44:00.740528', '2016-06-15 13:44:00.740528', 236740868, 504123193)  (0.5ms) COMMIT  (0.1ms) BEGIN  (5.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.7ms) COMMIT  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:44:00 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (7.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (6.8ms) COMMIT  (4.5ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.6ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:44:43.845701', '2016-06-15 13:44:43.845701', 504123193, 874964629) Fixture Delete (0.9ms) DELETE FROM "bit_core_slides" Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:44:43.874245', '2016-06-15 13:44:43.874245', 538050605, 504123193) Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:44:43.874245', '2016-06-15 13:44:43.874245', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:44:43.874245', '2016-06-15 13:44:43.874245', 236740868, 504123193)  (0.5ms) COMMIT  (0.1ms) BEGIN  (5.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.7ms) COMMIT  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (5.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:44:43 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.7ms) ROLLBACK  (0.4ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (7.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.6ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.5ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:45:15.778454', '2016-06-15 13:45:15.778454', 504123193, 874964629) Fixture Delete (0.8ms) DELETE FROM "bit_core_slides" Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:45:15.803008', '2016-06-15 13:45:15.803008', 538050605, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:45:15.803008', '2016-06-15 13:45:15.803008', 958091673, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:45:15.803008', '2016-06-15 13:45:15.803008', 236740868, 504123193)  (0.9ms) COMMIT  (0.3ms) BEGIN  (9.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (1.0ms) COMMIT  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (5.1ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.1ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:45:15 UTC], ["id", 236740868]]  (0.7ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (1.0ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (7.7ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (6.8ms) COMMIT  (0.4ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:46:26.292877', '2016-06-15 13:46:26.292877', 504123193, 874964629) Fixture Delete (1.0ms) DELETE FROM "bit_core_slides" Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:46:26.320803', '2016-06-15 13:46:26.320803', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:46:26.320803', '2016-06-15 13:46:26.320803', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:46:26.320803', '2016-06-15 13:46:26.320803', 236740868, 504123193)  (0.6ms) COMMIT  (0.2ms) BEGIN  (5.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.7ms) COMMIT  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (2.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.8ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.8ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.8ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (1.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.9ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:46:26 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (10.1ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (6.9ms) COMMIT  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:46:57.108010', '2016-06-15 13:46:57.108010', 504123193, 874964629) Fixture Delete (1.2ms) DELETE FROM "bit_core_slides" Fixture Insert (0.8ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:46:57.133149', '2016-06-15 13:46:57.133149', 538050605, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:46:57.133149', '2016-06-15 13:46:57.133149', 958091673, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:46:57.133149', '2016-06-15 13:46:57.133149', 236740868, 504123193)  (0.5ms) COMMIT  (0.2ms) BEGIN  (5.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.6ms) COMMIT  (0.3ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (2.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (2.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.9ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (1.0ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (1.1ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.6ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:46:57 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN  (8.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (7.0ms) COMMIT  (1.0ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.4ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:47:43.113109', '2016-06-15 13:47:43.113109', 504123193, 874964629) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:47:43.146100', '2016-06-15 13:47:43.146100', 538050605, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:47:43.146100', '2016-06-15 13:47:43.146100', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:47:43.146100', '2016-06-15 13:47:43.146100', 236740868, 504123193)  (0.6ms) COMMIT  (0.1ms) BEGIN  (5.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.6ms) COMMIT  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.2ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:47:43 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (7.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.7ms) COMMIT  (0.4ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "bit_core_slideshows" Fixture Insert (1.3ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:47:59.783197', '2016-06-15 13:47:59.783197', 504123193, 874964629) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:47:59.818456', '2016-06-15 13:47:59.818456', 538050605, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:47:59.818456', '2016-06-15 13:47:59.818456', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:47:59.818456', '2016-06-15 13:47:59.818456', 236740868, 504123193)  (0.5ms) COMMIT  (0.1ms) BEGIN  (5.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.6ms) COMMIT  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:47:59 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (6.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (6.8ms) COMMIT  (3.7ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.6ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 13:49:15.498536', '2016-06-15 13:49:15.498536', 504123193, 874964629) Fixture Delete (0.9ms) DELETE FROM "bit_core_slides" Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 13:49:15.525096', '2016-06-15 13:49:15.525096', 538050605, 504123193) Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 13:49:15.525096', '2016-06-15 13:49:15.525096', 958091673, 504123193) Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 13:49:15.525096', '2016-06-15 13:49:15.525096', 236740868, 504123193)  (0.5ms) COMMIT  (0.2ms) BEGIN  (5.7ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.7ms) COMMIT  (0.2ms) BEGIN BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 13:49:15 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.3ms) BEGIN  (40.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL  (2.7ms) COMMIT  (0.5ms) BEGIN Fixture Delete (2.4ms) DELETE FROM "bit_core_slideshows" Fixture Insert (2.6ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:46:32.878879', '2016-06-15 17:46:32.878879', 504123193, 874964629) Fixture Delete (2.6ms) DELETE FROM "bit_core_slides" Fixture Insert (1.1ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:46:32.941787', '2016-06-15 17:46:32.941787', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:46:32.941787', '2016-06-15 17:46:32.941787', 958091673, 504123193) Fixture Insert (1.0ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:46:32.941787', '2016-06-15 17:46:32.941787', 236740868, 504123193)  (0.7ms) COMMIT  (0.4ms) BEGIN  (10.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL  (0.9ms) COMMIT  (0.5ms) BEGIN BitCore::Slideshow Load (1.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.7ms) SAVEPOINT active_record_1 SQL (5.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.8ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (2.1ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.0ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:46:33 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.6ms) ROLLBACK  (0.6ms) BEGIN  (0.8ms) ROLLBACK  (0.2ms) BEGIN  (12.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL  (1.8ms) COMMIT  (0.4ms) BEGIN Fixture Delete (1.1ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:47:50.776495', '2016-06-15 17:47:50.776495', 504123193, 874964629) Fixture Delete (1.0ms) DELETE FROM "bit_core_slides" Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:47:50.803171', '2016-06-15 17:47:50.803171', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:47:50.803171', '2016-06-15 17:47:50.803171', 958091673, 504123193) Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:47:50.803171', '2016-06-15 17:47:50.803171', 236740868, 504123193)  (0.6ms) COMMIT  (0.2ms) BEGIN  (7.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL  (0.8ms) COMMIT  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (2.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (2.2ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.8ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:47:50 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (11.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL  (1.9ms) COMMIT  (0.6ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.6ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:48:36.633571', '2016-06-15 17:48:36.633571', 504123193, 874964629) Fixture Delete (1.0ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:48:36.658769', '2016-06-15 17:48:36.658769', 538050605, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:48:36.658769', '2016-06-15 17:48:36.658769', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:48:36.658769', '2016-06-15 17:48:36.658769', 236740868, 504123193)  (1.4ms) COMMIT  (0.6ms) BEGIN  (8.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL  (0.6ms) COMMIT  (0.2ms) BEGIN  (1.2ms) ROLLBACK  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.4ms) BEGIN  (1.7ms) ROLLBACK  (0.5ms) BEGIN BitCore::Slide Exists (1.2ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.6ms) ROLLBACK  (0.3ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (2.2ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.8ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.9ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:48:36 UTC], ["id", 236740868]]  (0.4ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.8ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (9.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL  (1.7ms) COMMIT  (0.8ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.9ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:49:13.828796', '2016-06-15 17:49:13.828796', 504123193, 874964629) Fixture Delete (0.8ms) DELETE FROM "bit_core_slides" Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:49:13.858638', '2016-06-15 17:49:13.858638', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:49:13.858638', '2016-06-15 17:49:13.858638', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:49:13.858638', '2016-06-15 17:49:13.858638', 236740868, 504123193)  (1.4ms) COMMIT  (0.2ms) BEGIN  (6.9ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL  (0.6ms) COMMIT  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:49:13 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (9.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL  (1.9ms) COMMIT  (0.3ms) BEGIN Fixture Delete (1.2ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:51:09.842749', '2016-06-15 17:51:09.842749', 504123193, 874964629) Fixture Delete (1.0ms) DELETE FROM "bit_core_slides" Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:51:09.872978', '2016-06-15 17:51:09.872978', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:51:09.872978', '2016-06-15 17:51:09.872978', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:51:09.872978', '2016-06-15 17:51:09.872978', 236740868, 504123193)  (0.5ms) COMMIT  (0.2ms) BEGIN  (7.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL  (0.6ms) COMMIT  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.6ms) ROLLBACK  (0.4ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.3ms) BEGIN  (1.7ms) ROLLBACK  (0.3ms) BEGIN BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.4ms) SAVEPOINT active_record_1 SQL (1.3ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.7ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.5ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.9ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:51:25 UTC], ["id", 236740868]]  (0.4ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) ROLLBACK  (0.1ms) BEGIN  (7.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL  (0.7ms) COMMIT  (0.6ms) BEGIN Fixture Delete (1.2ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.6ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:51:59.334890', '2016-06-15 17:51:59.334890', 504123193, 874964629) Fixture Delete (3.9ms) DELETE FROM "bit_core_slides" Fixture Insert (0.7ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:51:59.368300', '2016-06-15 17:51:59.368300', 538050605, 504123193) Fixture Insert (0.6ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:51:59.368300', '2016-06-15 17:51:59.368300', 958091673, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:51:59.368300', '2016-06-15 17:51:59.368300', 236740868, 504123193)  (0.6ms) COMMIT  (0.2ms) BEGIN  (6.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL  (0.6ms) COMMIT  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (1.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.1ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:51:59 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (8.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "groups" DISABLE TRIGGER ALL;ALTER TABLE "user_roles" DISABLE TRIGGER ALL;ALTER TABLE "activity_types" DISABLE TRIGGER ALL;ALTER TABLE "awake_periods" DISABLE TRIGGER ALL;ALTER TABLE "activities" DISABLE TRIGGER ALL;ALTER TABLE "participants" DISABLE TRIGGER ALL;ALTER TABLE "memberships" DISABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" DISABLE TRIGGER ALL;ALTER TABLE "messages" DISABLE TRIGGER ALL;ALTER TABLE "delivered_messages" DISABLE TRIGGER ALL;ALTER TABLE "thoughts" DISABLE TRIGGER ALL;ALTER TABLE "participant_tokens" DISABLE TRIGGER ALL;ALTER TABLE "participant_login_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "phq_assessments" DISABLE TRIGGER ALL;ALTER TABLE "engagements" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "moods" DISABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" DISABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" DISABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "emotions" DISABLE TRIGGER ALL;ALTER TABLE "thought_patterns" DISABLE TRIGGER ALL;ALTER TABLE "coach_assignments" DISABLE TRIGGER ALL;ALTER TABLE "task_statuses" DISABLE TRIGGER ALL;ALTER TABLE "tasks" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "event_capture_events" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "site_messages" DISABLE TRIGGER ALL;ALTER TABLE "wai_assessments" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL;ALTER TABLE "media_access_events" DISABLE TRIGGER ALL  (1.4ms) COMMIT  (1.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.5ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:53:47.842629', '2016-06-15 17:53:47.842629', 504123193, 874964629) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:53:47.866642', '2016-06-15 17:53:47.866642', 538050605, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:53:47.866642', '2016-06-15 17:53:47.866642', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:53:47.866642', '2016-06-15 17:53:47.866642', 236740868, 504123193)  (0.5ms) COMMIT  (0.1ms) BEGIN  (5.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "groups" ENABLE TRIGGER ALL;ALTER TABLE "user_roles" ENABLE TRIGGER ALL;ALTER TABLE "activity_types" ENABLE TRIGGER ALL;ALTER TABLE "awake_periods" ENABLE TRIGGER ALL;ALTER TABLE "activities" ENABLE TRIGGER ALL;ALTER TABLE "participants" ENABLE TRIGGER ALL;ALTER TABLE "memberships" ENABLE TRIGGER ALL;ALTER TABLE "bit_player_participant_statuses" ENABLE TRIGGER ALL;ALTER TABLE "messages" ENABLE TRIGGER ALL;ALTER TABLE "delivered_messages" ENABLE TRIGGER ALL;ALTER TABLE "thoughts" ENABLE TRIGGER ALL;ALTER TABLE "participant_tokens" ENABLE TRIGGER ALL;ALTER TABLE "participant_login_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "phq_assessments" ENABLE TRIGGER ALL;ALTER TABLE "engagements" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "moods" ENABLE TRIGGER ALL;ALTER TABLE "emotional_ratings" ENABLE TRIGGER ALL;ALTER TABLE "slideshow_anchors" ENABLE TRIGGER ALL;ALTER TABLE "content_provider_policies" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "emotions" ENABLE TRIGGER ALL;ALTER TABLE "thought_patterns" ENABLE TRIGGER ALL;ALTER TABLE "coach_assignments" ENABLE TRIGGER ALL;ALTER TABLE "task_statuses" ENABLE TRIGGER ALL;ALTER TABLE "tasks" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "event_capture_events" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "site_messages" ENABLE TRIGGER ALL;ALTER TABLE "wai_assessments" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL;ALTER TABLE "media_access_events" ENABLE TRIGGER ALL  (0.8ms) COMMIT  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (1.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:53:47 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.6ms) ROLLBACK  (0.3ms) BEGIN  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::InternalMetadata Load (1.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1 [["LIMIT", 1]]  (0.3ms) BEGIN SQL (1.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-06-15 17:55:29 UTC], ["updated_at", 2016-06-15 17:55:29 UTC]]  (1.3ms) COMMIT ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]] ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", :environment]]  (1055.3ms) DROP DATABASE IF EXISTS "dummy_test"  (420.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (21.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)  (6.3ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.4ms) SELECT pg_try_advisory_lock(2735718569030447490); ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBitCoreTools (20140415210052)  (0.3ms) BEGIN  (8.9ms) CREATE TABLE "bit_core_tools" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 0 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (3.0ms)  ALTER TABLE bit_core_tools ADD CONSTRAINT bit_core_tool_position UNIQUE (position) DEFERRABLE INITIALLY IMMEDIATE  SQL (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415210052"]]  (0.8ms) COMMIT Migrating to CreateBitCoreContentModules (20140415211458)  (0.6ms) BEGIN  (5.9ms) CREATE TABLE "bit_core_content_modules" ("id" serial primary key, "title" character varying NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_tool_id" integer NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (1.8ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT bit_core_content_module_position UNIQUE (bit_core_tool_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.1ms)  ALTER TABLE bit_core_content_modules ADD CONSTRAINT fk_content_modules_tools FOREIGN KEY (bit_core_tool_id) REFERENCES bit_core_tools(id)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415211458"]]  (1.1ms) COMMIT Migrating to CreateBitCoreContentProviders (20140415213346)  (0.6ms) BEGIN  (8.6ms) CREATE TABLE "bit_core_content_providers" ("id" serial primary key, "type" character varying NOT NULL, "source_content_type" character varying, "source_content_id" integer, "bit_core_content_module_id" integer NOT NULL, "position" integer DEFAULT 1 NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (3.3ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT bit_core_content_provider_position UNIQUE (bit_core_content_module_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.1ms)  ALTER TABLE bit_core_content_providers ADD CONSTRAINT fk_content_providers_modules FOREIGN KEY (bit_core_content_module_id) REFERENCES bit_core_content_modules(id)  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140415213346"]]  (1.1ms) COMMIT Migrating to CreateBitCoreSlideshows (20140417173056)  (0.9ms) BEGIN  (7.3ms) CREATE TABLE "bit_core_slideshows" ("id" serial primary key, "title" character varying NOT NULL, "created_at" timestamp, "updated_at" timestamp) SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140417173056"]]  (0.6ms) COMMIT Migrating to CreateBitCoreSlides (20140417174159)  (0.4ms) BEGIN  (7.4ms) CREATE TABLE "bit_core_slides" ("id" serial primary key, "title" character varying NOT NULL, "body" text NOT NULL, "position" integer DEFAULT 1 NOT NULL, "bit_core_slideshow_id" integer NOT NULL, "type" character varying, "is_title_visible" boolean DEFAULT 't' NOT NULL, "created_at" timestamp, "updated_at" timestamp)  (3.0ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT bit_core_slide_position UNIQUE (bit_core_slideshow_id, position) DEFERRABLE INITIALLY IMMEDIATE   (3.0ms)  ALTER TABLE bit_core_slides ADD CONSTRAINT fk_slideshows_slides FOREIGN KEY (bit_core_slideshow_id) REFERENCES bit_core_slideshows(id)  SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140417174159"]]  (0.6ms) COMMIT Migrating to AddOptionsToSlides (20140620174146)  (1.9ms) BEGIN  (1.4ms) ALTER TABLE "bit_core_slides" ADD "options" text SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620174146"]]  (0.6ms) COMMIT Migrating to AddConfigFieldsToProviders (20140620174147)  (0.5ms) BEGIN  (1.2ms) ALTER TABLE "bit_core_content_providers" ADD "template_path" character varying  (1.1ms) ALTER TABLE "bit_core_content_providers" ADD "data_class_name" character varying  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD "data_attributes" text  (0.9ms) ALTER TABLE "bit_core_content_providers" ADD "show_next_nav" boolean  (1.0ms) ALTER TABLE "bit_core_content_providers" ADD "locals" text SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140620174147"]]  (0.4ms) COMMIT Migrating to AddTypeToContentModules (20140625133118)  (0.2ms) BEGIN  (0.7ms) ALTER TABLE "bit_core_content_modules" ADD "type" character varying SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20140625133118"]]  (0.4ms) COMMIT Migrating to CreateBitCoreArms (20141205202720)  (0.2ms) BEGIN  (5.3ms) CREATE TABLE "arms" ("id" serial primary key, "title" character varying, "is_social" boolean, "created_at" timestamp, "updated_at" timestamp) SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202720"]]  (0.6ms) COMMIT Migrating to AddArmIdToBitCoreSlideshows (20141205202724)  (0.6ms) BEGIN  (0.9ms) ALTER TABLE "bit_core_slideshows" ADD "arm_id" integer NOT NULL  (2.1ms)  ALTER TABLE bit_core_slideshows ADD CONSTRAINT fk_bit_core_slideshows_arms FOREIGN KEY (arm_id) REFERENCES arms(id)  SQL (1.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202724"]]  (0.7ms) COMMIT Migrating to AddArmIdToBitCoreTools (20141205202740)  (0.4ms) BEGIN  (0.8ms) ALTER TABLE "bit_core_tools" ADD "arm_id" integer NOT NULL  (3.2ms)  ALTER TABLE bit_core_tools ADD CONSTRAINT fk_bit_core_tools_arms FOREIGN KEY (arm_id) REFERENCES arms(id)  SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20141205202740"]]  (0.8ms) COMMIT Migrating to AddTypeToTools (20150130155627)  (0.5ms) BEGIN  (1.3ms) ALTER TABLE "bit_core_tools" ADD "type" character varying SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150130155627"]]  (0.8ms) COMMIT Migrating to AddIsVizToContentModules (20150131195914)  (0.3ms) BEGIN  (8.1ms) ALTER TABLE "bit_core_content_modules" ADD "is_viz" boolean DEFAULT 'f' NOT NULL SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150131195914"]]  (1.3ms) COMMIT Migrating to AddToolConstraint (20150210161229)  (0.4ms) BEGIN BitCore::Tool Load (1.2ms) SELECT "bit_core_tools".* FROM "bit_core_tools"  (2.6ms)  ALTER TABLE bit_core_tools ADD CONSTRAINT fk_tools_arms FOREIGN KEY (arm_id) REFERENCES arms(id)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20150210161229"]]  (0.5ms) COMMIT Migrating to ChangeShowNextNavColumnDefault (20160311210938)  (0.3ms) BEGIN  (1.1ms) ALTER TABLE "bit_core_content_providers" ALTER COLUMN "show_next_nav" SET DEFAULT 'f'  (0.4ms) ALTER TABLE "bit_core_content_providers" ALTER "show_next_nav" SET NOT NULL SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20160311210938"]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" ORDER BY "ar_internal_metadata"."key" ASC LIMIT $1 [["LIMIT", 1]]  (0.4ms) BEGIN SQL (0.9ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", 2016-06-15 17:55:46 UTC], ["updated_at", 2016-06-15 17:55:46 UTC]]  (1.0ms) COMMIT  (1.6ms) SELECT pg_advisory_unlock(2735718569030447490) ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'arms' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_content_modules' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_content_providers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_slides' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_slideshows' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bit_core_tools' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.2ms) BEGIN  (3.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (1.7ms) COMMIT  (0.4ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.6ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:55:55.211009', '2016-06-15 17:55:55.211009', 504123193, 874964629) Fixture Delete (0.9ms) DELETE FROM "bit_core_slides" Fixture Insert (1.0ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:55:55.232243', '2016-06-15 17:55:55.232243', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:55:55.232243', '2016-06-15 17:55:55.232243', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:55:55.232243', '2016-06-15 17:55:55.232243', 236740868, 504123193)  (0.5ms) COMMIT  (0.2ms) BEGIN  (2.1ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.5ms) COMMIT  (0.4ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (1.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (1.0ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.6ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (1.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:55:55 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.7ms) ROLLBACK  (0.5ms) BEGIN  (0.5ms) ROLLBACK  (0.1ms) BEGIN  (1.8ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.6ms) COMMIT  (0.5ms) BEGIN Fixture Delete (1.4ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.7ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:58:35.108553', '2016-06-15 17:58:35.108553', 504123193, 874964629) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:58:35.135721', '2016-06-15 17:58:35.135721', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:58:35.135721', '2016-06-15 17:58:35.135721', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:58:35.135721', '2016-06-15 17:58:35.135721', 236740868, 504123193)  (0.4ms) COMMIT  (0.1ms) BEGIN  (1.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.4ms) COMMIT  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Exists (0.9ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (1.0ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:58:43 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.0ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.5ms) ROLLBACK  (0.2ms) BEGIN  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (1.9ms) COMMIT  (0.3ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 17:59:37.643670', '2016-06-15 17:59:37.643670', 504123193, 874964629) Fixture Delete (0.8ms) DELETE FROM "bit_core_slides" Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 17:59:37.671541', '2016-06-15 17:59:37.671541', 538050605, 504123193) Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 17:59:37.671541', '2016-06-15 17:59:37.671541', 958091673, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 17:59:37.671541', '2016-06-15 17:59:37.671541', 236740868, 504123193)  (0.5ms) COMMIT  (0.2ms) BEGIN  (1.6ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.4ms) COMMIT  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.7ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.6ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (1.1ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (1.2ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 17:59:37 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Exists (0.7ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (1.9ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (1.7ms) COMMIT  (0.4ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.8ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 18:00:06.702822', '2016-06-15 18:00:06.702822', 504123193, 874964629) Fixture Delete (0.6ms) DELETE FROM "bit_core_slides" Fixture Insert (0.5ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 18:00:06.729177', '2016-06-15 18:00:06.729177', 538050605, 504123193) Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 18:00:06.729177', '2016-06-15 18:00:06.729177', 958091673, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 18:00:06.729177', '2016-06-15 18:00:06.729177', 236740868, 504123193)  (0.5ms) COMMIT  (0.2ms) BEGIN  (1.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.4ms) COMMIT  (0.1ms) BEGIN BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (1.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 18:00:06 UTC], ["id", 236740868]]  (0.3ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Exists (0.5ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (3.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (1.5ms) COMMIT  (0.4ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_slideshows" Fixture Insert (0.6ms) INSERT INTO "bit_core_slideshows" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Slideshow 1', '2016-06-15 18:01:20.594176', '2016-06-15 18:01:20.594176', 504123193, 874964629) Fixture Delete (0.7ms) DELETE FROM "bit_core_slides" Fixture Insert (0.4ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (1, 'Slide 1', 'lorem...', '2016-06-15 18:01:20.617448', '2016-06-15 18:01:20.617448', 538050605, 504123193) Fixture Insert (0.3ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (2, 'Slide 2', 'lorem...', '2016-06-15 18:01:20.617448', '2016-06-15 18:01:20.617448', 958091673, 504123193) Fixture Insert (0.2ms) INSERT INTO "bit_core_slides" ("position", "title", "body", "created_at", "updated_at", "id", "bit_core_slideshow_id") VALUES (3, 'Slide 3', 'lorem...', '2016-06-15 18:01:20.617448', '2016-06-15 18:01:20.617448', 236740868, 504123193)  (0.5ms) COMMIT  (0.1ms) BEGIN  (1.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.5ms) COMMIT  (0.1ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.5ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.6ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.4ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.7ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 18:01:20 UTC], ["id", 236740868]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position DESC LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position LIMIT $2 OFFSET $3 [["bit_core_slideshow_id", 504123193], ["LIMIT", 1], ["OFFSET", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]]  (0.5ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.2ms) SAVEPOINT active_record_1 BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 538050605]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-06-15 18:01:20 UTC], ["id", 958091673]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 18:01:20 UTC], ["id", 236740868]] SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.8ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-06-15 18:01:20 UTC], ["id", 236740868]] SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 236740868]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.5ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.3ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::ContentProvider Load (1.0ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."source_content_id" = $1 AND "bit_core_content_providers"."source_content_type" = $2 LIMIT $3 [["source_content_id", 504123193], ["source_content_type", "BitCore::Slideshow"], ["LIMIT", 1]] SQL (0.9ms) DELETE FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 [["id", 504123193]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "bit_core_slideshows"  (0.3ms) ROLLBACK  (0.3ms) BEGIN BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.9ms) SELECT COUNT(*) FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 [["bit_core_slideshow_id", 504123193]] BitCore::Slide Exists (0.6ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" = $2 LIMIT $3 [["position", 4], ["bit_core_slideshow_id", 504123193], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.4ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 236740868], ["LIMIT", 1]] BitCore::Slideshow Load (0.2ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 1], ["updated_at", 2016-06-15 18:01:20 UTC], ["id", 236740868]] BitCore::Slide Load (0.5ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] SQL (0.5ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 18:01:20 UTC], ["id", 538050605]] BitCore::Slide Load (0.7ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] SQL (0.6ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 3], ["updated_at", 2016-06-15 18:01:20 UTC], ["id", 958091673]]  (0.2ms) RELEASE SAVEPOINT active_record_1 BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 958091673], ["LIMIT", 1]] BitCore::Slide Load (0.6ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentProvider Exists (0.5ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.6ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN BitCore::ContentProvider Exists (0.7ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]] BitCore::ContentProvider Exists (0.8ms) SELECT 1 AS one FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."position" = $1 AND "bit_core_content_providers"."bit_core_content_module_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Exists (0.8ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slide Exists (0.5ms) SELECT 1 AS one FROM "bit_core_slides" WHERE "bit_core_slides"."position" = $1 AND "bit_core_slides"."bit_core_slideshow_id" IS NULL LIMIT $2 [["position", 1], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) BEGIN BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]] BitCore::Slide Load (0.3ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 LIMIT $2 [["id", 958091673], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "bit_core_slides" WHERE "bit_core_slides"."id" = $1 [["id", 958091673]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slideshow Load (0.3ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]]  (0.6ms) SELECT "bit_core_slides".id FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.2ms) SET CONSTRAINTS bit_core_slide_position DEFERRED BitCore::Slide Load (0.8ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 538050605], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 AND "bit_core_slides"."id" = $2 ORDER BY position LIMIT $3 [["bit_core_slideshow_id", 504123193], ["id", 236740868], ["LIMIT", 1]] SQL (0.9ms) UPDATE "bit_core_slides" SET "position" = $1, "updated_at" = $2 WHERE "bit_core_slides"."id" = $3 [["position", 2], ["updated_at", 2016-06-15 18:01:20 UTC], ["id", 236740868]]  (0.4ms) RELEASE SAVEPOINT active_record_1 BitCore::Slideshow Load (0.5ms) SELECT "bit_core_slideshows".* FROM "bit_core_slideshows" WHERE "bit_core_slideshows"."id" = $1 LIMIT $2 [["id", 504123193], ["LIMIT", 1]] BitCore::Slide Load (0.9ms) SELECT "bit_core_slides".* FROM "bit_core_slides" WHERE "bit_core_slides"."bit_core_slideshow_id" = $1 ORDER BY position [["bit_core_slideshow_id", 504123193]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN  (1.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" DISABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" DISABLE TRIGGER ALL;ALTER TABLE "arms" DISABLE TRIGGER ALL  (0.5ms) COMMIT  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "bit_core_tools" Fixture Insert (1.5ms) INSERT INTO "bit_core_tools" ("title", "created_at", "updated_at", "id", "arm_id") VALUES ('Home', '2016-06-15 18:01:20.925348', '2016-06-15 18:01:20.925348', 836111569, 874964629) Fixture Delete (1.1ms) DELETE FROM "bit_core_content_modules" Fixture Insert (3.2ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('Landing', 1, '2016-06-15 18:01:20.935182', '2016-06-15 18:01:20.935182', 437912910, 836111569) Fixture Insert (0.5ms) INSERT INTO "bit_core_content_modules" ("title", "position", "created_at", "updated_at", "id", "bit_core_tool_id") VALUES ('But wait, there''s more', 2, '2016-06-15 18:01:20.935182', '2016-06-15 18:01:20.935182', 511237275, 836111569) Fixture Delete (0.6ms) DELETE FROM "bit_core_content_providers" Fixture Insert (0.8ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-06-15 18:01:20.952999', '2016-06-15 18:01:20.952999', 555816777, 437912910) Fixture Insert (0.4ms) INSERT INTO "bit_core_content_providers" ("position", "type", "created_at", "updated_at", "id", "bit_core_content_module_id") VALUES (1, 'BitCore::ContentProviders::SlideshowProvider', '2016-06-15 18:01:20.952999', '2016-06-15 18:01:20.952999', 46790607, 511237275)  (1.1ms) COMMIT  (0.8ms) BEGIN  (3.0ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "ar_internal_metadata" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_tools" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_modules" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slides" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_content_providers" ENABLE TRIGGER ALL;ALTER TABLE "bit_core_slideshows" ENABLE TRIGGER ALL;ALTER TABLE "arms" ENABLE TRIGGER ALL  (0.7ms) COMMIT  (0.3ms) BEGIN BitCore::ContentModule Load (0.7ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.7ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 1], ["LIMIT", 1]]  (0.4ms) ROLLBACK  (0.2ms) BEGIN BitCore::ContentModule Load (0.4ms) SELECT "bit_core_content_modules".* FROM "bit_core_content_modules" WHERE "bit_core_content_modules"."id" = $1 LIMIT $2 [["id", 437912910], ["LIMIT", 1]] BitCore::ContentProvider Load (0.4ms) SELECT "bit_core_content_providers".* FROM "bit_core_content_providers" WHERE "bit_core_content_providers"."bit_core_content_module_id" = $1 AND "bit_core_content_providers"."position" = $2 LIMIT $3 [["bit_core_content_module_id", 437912910], ["position", 8], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.3ms) ROLLBACK