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