ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (363.4ms) DROP DATABASE IF EXISTS "dummy_test"  (1482.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (0.1ms)  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.3ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (0.2ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.1ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.3ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.2ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.1ms)   (0.1ms)  (0.2ms) BEGIN PG::UndefinedTable: ERROR: relation "pages_cms_articles" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_articles"'::re... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_articles"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (0.3ms)   (183.1ms) DROP DATABASE IF EXISTS "dummy_test"  (1454.1ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (198.9ms) DROP DATABASE IF EXISTS "dummy_test"  (1465.8ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (278.3ms) DROP DATABASE IF EXISTS "dummy_test"  (2169.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (193.1ms) DROP DATABASE IF EXISTS "dummy_test"  (1206.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (182.5ms) DROP DATABASE IF EXISTS "dummy_test"  (1301.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (228.5ms) DROP DATABASE IF EXISTS "dummy_test"  (1003.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (78.8ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (4.0ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.7ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.1ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.1ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.4ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (6.8ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.2ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (8.7ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.8ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.5ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.3ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (8.0ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.2ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (3.1ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.5ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.6ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.8ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.4ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150609171657') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (136.5ms) DROP DATABASE IF EXISTS "dummy_test"  (1338.6ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (15.4ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.3ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (9.3ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (7.1ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.9ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.2ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (7.3ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.1ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.5ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.2ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (8.0ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (15.9ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (12.9ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.5ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (4.1ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (7.4ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (4.0ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (3.6ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.7ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.6ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.8ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (4.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.7ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_articles' 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 = 'pages_cms_images' 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 = 'pages_cms_jumbotrons' 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 = 'pages_cms_page_blocks' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.3ms) 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 = 'pages_cms_pages' 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 = 'pages_cms_sidebars' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.3ms) 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 = 'pages_cms_text_boxes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) 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 = 'pages_cms_thumbnails' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (119.0ms) DROP DATABASE IF EXISTS "dummy_test"  (1011.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (14.7ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.4ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.6ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.5ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (4.2ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.7ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (6.3ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.5ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.6ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.0ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.0ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (4.6ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.3ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.7ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (3.1ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.9ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.0ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.5ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (10.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateInitialDb (20150615160631)  (0.3ms) BEGIN  (8.2ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (1.5ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" ("parent_id")  (5.3ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (6.5ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.5ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" ("page_id")  (2.8ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (5.7ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" ("page_block_id")  (1.9ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" ("image_id")  (1.9ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (1.8ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (6.3ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" ("page_block_id")  (2.6ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (24.9ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (1.6ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" ("page_block_id")  (1.8ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (5.5ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (1.4ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" ("page_id")  (1.9ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (5.5ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (1.2ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" ("image_id")  (1.9ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150615160631"]]  (2.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_articles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) 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 = 'pages_cms_images' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.3ms) 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 = 'pages_cms_jumbotrons' 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 = 'pages_cms_page_blocks' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (7.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 = 'pages_cms_pages' 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 = 'pages_cms_sidebars' 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 = 'pages_cms_text_boxes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) 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 = 'pages_cms_thumbnails' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (119.0ms) DROP DATABASE IF EXISTS "dummy_test"  (1126.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.4ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.4ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (7.8ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (7.1ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.1ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.9ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (7.7ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (8.0ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.4ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (7.1ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.5ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.7ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.2ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (3.0ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (3.6ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.7ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.6ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.4ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (26.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (14.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (1.2ms) SELECT version FROM "schema_migrations"  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_articles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_images' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (5.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_jumbotrons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_page_blocks' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (5.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_pages' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.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 = 'pages_cms_sidebars' 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 = 'pages_cms_text_boxes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.3ms) 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 = 'pages_cms_thumbnails' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (119.0ms) DROP DATABASE IF EXISTS "dummy_test"  (1308.0ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (9.9ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.1ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.6ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.6ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (8.5ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (20.0ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (9.7ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (15.0ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (49.0ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (185.9ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (1.9ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.7ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.1ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.5ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (16.0ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.6ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.6ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.3ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.8ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.8ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.4ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (4.2ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.6ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.6ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (117.8ms) DROP DATABASE IF EXISTS "dummy_test"  (1102.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (9.9ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (4.4ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (11.1ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (7.0ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.4ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (5.8ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (13.2ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (6.8ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (7.3ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.4ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.1ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.6ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.1ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.7ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.0ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.7ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.7ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (3.4ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.7ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.5ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (116.0ms) DROP DATABASE IF EXISTS "dummy_test"  (1050.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (9.8ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.2ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.6ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (7.4ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (5.8ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (6.6ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.5ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.2ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (7.0ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (4.6ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.3ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.3ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (4.7ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.2ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.9ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.8ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.5ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.9ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.6ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.6ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (117.1ms) DROP DATABASE IF EXISTS "dummy_test"  (1190.8ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (9.8ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (8.0ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (7.4ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.2ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (7.3ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.2ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (8.3ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.5ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.8ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.2ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.5ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (5.0ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.0ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.9ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.6ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.7ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.6ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (3.2ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_articles' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_images' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.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 = 'pages_cms_jumbotrons' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (4.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_page_blocks' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (5.0ms) 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 = 'pages_cms_pages' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_sidebars' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'pages_cms_text_boxes' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (5.0ms) 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 = 'pages_cms_thumbnails' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (120.4ms) DROP DATABASE IF EXISTS "dummy_test"  (1473.5ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (13.1ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.0ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.3ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.3ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (7.0ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.8ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (8.5ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.2ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.1ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.7ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (4.9ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (9.2ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.3ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.9ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.6ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.1ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (3.1ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.6ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.6ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.7ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.4ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (177.4ms) DROP DATABASE IF EXISTS "dummy_test"  (1129.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.5ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.3ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.8ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.5ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (1.9ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.0ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.7ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (10.1ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.2ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (1.9ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.7ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.1ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (7.3ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.7ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.4ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.1ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.7ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.8ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.7ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.8ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.5ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.7ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (118.9ms) DROP DATABASE IF EXISTS "dummy_test"  (1033.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.5ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.8ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.9ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.6ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (120.6ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.0ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (7.0ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.2ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.6ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.5ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (8.1ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.0ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (3.1ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.8ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.5ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.9ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.8ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (3.0ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.9ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.9ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150615160631') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (191.5ms) DROP DATABASE IF EXISTS "dummy_test"  (1456.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (12.5ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.0ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.4ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.5ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.2ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.6ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (6.8ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.1ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.1ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.1ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (7.7ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.2ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.7ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.2ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.4ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.0ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (3.0ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (3.0ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.9ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.7ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.6ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150609171657') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (34.0ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (14.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.5ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (19.7ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.2ms) ROLLBACK  (4.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.5ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.2ms) ROLLBACK  (4.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.2ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.4ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.7ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (7.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.4ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.2ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:55', '2015-06-15 16:55:55', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:55', '2015-06-15 16:55:55', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:56', '2015-06-15 16:55:56') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:56', '2015-06-15 16:55:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:56', '2015-06-15 16:55:56') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:56', '2015-06-15 16:55:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:56', '2015-06-15 16:55:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:56', '2015-06-15 16:55:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:56', '2015-06-15 16:55:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:56', '2015-06-15 16:55:56') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:56', '2015-06-15 16:55:56') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:56', '2015-06-15 16:55:56', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:56', '2015-06-15 16:55:56', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:55:56', '2015-06-15 16:55:56') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:55:56', '2015-06-15 16:55:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:55:56', '2015-06-15 16:55:56') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:55:56', '2015-06-15 16:55:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:55:56', '2015-06-15 16:55:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:55:56', '2015-06-15 16:55:56', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:55:56', '2015-06-15 16:55:56', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:55:56', '2015-06-15 16:55:56') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:55:56', '2015-06-15 16:55:56') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:56', '2015-06-15 16:55:56', 980190962) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 1, '2015-06-15 16:55:56', '2015-06-15 16:55:56', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.6ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (11.7ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.2ms) ROLLBACK  (2.4ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.0ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.4ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.2ms) ROLLBACK  (2.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (8.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (1.0ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.2ms) ROLLBACK  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.2ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.7ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.0ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:27', '2015-06-15 16:56:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:27', '2015-06-15 16:56:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374)  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374)  (0.1ms) ROLLBACK  (1.8ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374) PG::UndefinedColumn: ERROR: column "links" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("links", "content", "conte... ^ : INSERT INTO "pages_cms_sidebars" ("links", "content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyText', '

hello

', 2, '2015-06-15 16:56:28', '2015-06-15 16:56:28', 298486374)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:56:44', '2015-06-15 16:56:44') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:56:44', '2015-06-15 16:56:44', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:56:44', '2015-06-15 16:56:44') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:44', '2015-06-15 16:56:44', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:56:44', '2015-06-15 16:56:44', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:56:44', '2015-06-15 16:56:44', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:56:44', '2015-06-15 16:56:44', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:56:44', '2015-06-15 16:56:44') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:56:44', '2015-06-15 16:56:44') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:56:44', '2015-06-15 16:56:44', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 16:56:44', '2015-06-15 16:56:44', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.6ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:44', '2015-06-15 16:56:44', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 16:56:44', '2015-06-15 16:56:44', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.6ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 16:56:44', '2015-06-15 16:56:44', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:56:44', '2015-06-15 16:56:44', 298486374)  (1.0ms) COMMIT  (3.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML Completed 500 Internal Server Error in 56ms (ActiveRecord: 0.0ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) SAVEPOINT active_record_1 PagesCms::Page Exists (30.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 16:56:44.977476"], ["updated_at", "2015-06-15 16:56:44.977476"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 31ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] Completed 500 Internal Server Error in 19ms (ActiveRecord: 1.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.2ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:58:25', '2015-06-15 16:58:25') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:58:25', '2015-06-15 16:58:25', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (19.9ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:58:25', '2015-06-15 16:58:25') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.6ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:58:25', '2015-06-15 16:58:25', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:58:25', '2015-06-15 16:58:25', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:58:25', '2015-06-15 16:58:25', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:58:25', '2015-06-15 16:58:25', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:58:25', '2015-06-15 16:58:25') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:58:25', '2015-06-15 16:58:25') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (10.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:58:25', '2015-06-15 16:58:25', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 16:58:25', '2015-06-15 16:58:25', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:58:25', '2015-06-15 16:58:25', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 16:58:25', '2015-06-15 16:58:25', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 16:58:25', '2015-06-15 16:58:25', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:58:25', '2015-06-15 16:58:25', 298486374)  (1.1ms) COMMIT  (2.2ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.0ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 16:58:26.207287"], ["updated_at", "2015-06-15 16:58:26.207287"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] Completed 500 Internal Server Error in 103ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 16:59:49', '2015-06-15 16:59:49') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 16:59:49', '2015-06-15 16:59:49', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (19.7ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 16:59:49', '2015-06-15 16:59:49') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:59:49', '2015-06-15 16:59:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 16:59:49', '2015-06-15 16:59:49', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 16:59:49', '2015-06-15 16:59:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 16:59:49', '2015-06-15 16:59:49', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 16:59:49', '2015-06-15 16:59:49') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 16:59:49', '2015-06-15 16:59:49') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (1.5ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 16:59:49', '2015-06-15 16:59:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 16:59:49', '2015-06-15 16:59:49', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:59:49', '2015-06-15 16:59:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 16:59:49', '2015-06-15 16:59:49', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 16:59:49', '2015-06-15 16:59:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 16:59:49', '2015-06-15 16:59:49', 298486374)  (1.3ms) COMMIT  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 16:59:49.770244"], ["updated_at", "2015-06-15 16:59:49.770244"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 16:59:49.781641"], ["updated_at", "2015-06-15 16:59:49.781641"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML Completed 500 Internal Server Error in 54ms (ActiveRecord: 0.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.0ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 16:59:50.269630"], ["updated_at", "2015-06-15 16:59:50.269630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 16:59:50.286669"], ["updated_at", "2015-06-15 16:59:50.286669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] Completed 500 Internal Server Error in 25ms (ActiveRecord: 0.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML Completed 500 Internal Server Error in 39ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.7ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 16:59:50.610752"], ["updated_at", "2015-06-15 16:59:50.610752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 16:59:50.621392"], ["updated_at", "2015-06-15 16:59:50.621392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 17:01:17', '2015-06-15 17:01:17') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 17:01:17', '2015-06-15 17:01:17', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 17:01:17', '2015-06-15 17:01:17') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:01:17', '2015-06-15 17:01:17', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 17:01:17', '2015-06-15 17:01:17', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 17:01:17', '2015-06-15 17:01:17', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 17:01:17', '2015-06-15 17:01:17', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 17:01:17', '2015-06-15 17:01:17') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 17:01:17', '2015-06-15 17:01:17') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 17:01:17', '2015-06-15 17:01:17', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 17:01:17', '2015-06-15 17:01:17', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:01:17', '2015-06-15 17:01:17', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 17:01:17', '2015-06-15 17:01:17', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 17:01:17', '2015-06-15 17:01:17', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:01:17', '2015-06-15 17:01:17', 298486374)  (2.4ms) COMMIT  (2.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 17:01:17.869999"], ["updated_at", "2015-06-15 17:01:17.869999"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:01:17.926295"], ["updated_at", "2015-06-15 17:01:17.926295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:01:17.937382"], ["updated_at", "2015-06-15 17:01:17.937382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.0ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 17:01:18.149980"], ["updated_at", "2015-06-15 17:01:18.149980"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.9ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:01:18.165039"], ["updated_at", "2015-06-15 17:01:18.165039"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML Completed 500 Internal Server Error in 62ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:01:18.498442"], ["updated_at", "2015-06-15 17:01:18.498442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] Completed 500 Internal Server Error in 36ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.9ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 17:01:48', '2015-06-15 17:01:48') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 17:01:48', '2015-06-15 17:01:48', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 17:01:48', '2015-06-15 17:01:48') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:01:48', '2015-06-15 17:01:48', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 17:01:48', '2015-06-15 17:01:48', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 17:01:48', '2015-06-15 17:01:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 17:01:48', '2015-06-15 17:01:48', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 17:01:48', '2015-06-15 17:01:48') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 17:01:48', '2015-06-15 17:01:48') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 17:01:48', '2015-06-15 17:01:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 17:01:48', '2015-06-15 17:01:48', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:01:48', '2015-06-15 17:01:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 17:01:48', '2015-06-15 17:01:48', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 17:01:48', '2015-06-15 17:01:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:01:48', '2015-06-15 17:01:48', 298486374)  (1.1ms) COMMIT  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.8ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (148.2ms) Rendered pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (159.8ms) Completed 500 Internal Server Error in 489ms (ActiveRecord: 1.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (7.9ms) Completed 500 Internal Server Error in 25ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (5.0ms) Rendered pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (7.9ms) Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:01:49.448122"], ["updated_at", "2015-06-15 17:01:49.448122"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:01:49.475320"], ["updated_at", "2015-06-15 17:01:49.475320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered pages_cms/admin/pages/_page_block_fields.html.haml (55.4ms) Rendered pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (80.2ms) Completed 500 Internal Server Error in 148ms (ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (66.0ms) Completed 500 Internal Server Error in 73ms (ActiveRecord: 2.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 17:01:49.805712"], ["updated_at", "2015-06-15 17:01:49.805712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.3ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 17:01:49.963514"], ["updated_at", "2015-06-15 17:01:49.963514"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:01:49.976313"], ["updated_at", "2015-06-15 17:01:49.976313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:01:49.987878"], ["updated_at", "2015-06-15 17:01:49.987878"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (28.9ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 0.5ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (23.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 17:02:55', '2015-06-15 17:02:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 17:02:55', '2015-06-15 17:02:55', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 17:02:55', '2015-06-15 17:02:55') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:02:55', '2015-06-15 17:02:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 17:02:55', '2015-06-15 17:02:55', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 17:02:55', '2015-06-15 17:02:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 17:02:55', '2015-06-15 17:02:55', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 17:02:55', '2015-06-15 17:02:55') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 17:02:55', '2015-06-15 17:02:55') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 17:02:55', '2015-06-15 17:02:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 17:02:55', '2015-06-15 17:02:55', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:02:55', '2015-06-15 17:02:55', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 17:02:55', '2015-06-15 17:02:55', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 17:02:55', '2015-06-15 17:02:55', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:02:55', '2015-06-15 17:02:55', 298486374)  (4.2ms) COMMIT  (7.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:02:55.365594"], ["updated_at", "2015-06-15 17:02:55.365594"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (31.0ms) Completed 500 Internal Server Error in 379ms (ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (129.4ms) Rendered pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (192.7ms) Completed 500 Internal Server Error in 232ms (ActiveRecord: 1.1ms)  (0.6ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (4.2ms) Rendered pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (6.6ms) Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.4ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (11.0ms) Completed 500 Internal Server Error in 64ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:02:56.699405"], ["updated_at", "2015-06-15 17:02:56.699405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.0ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 17:02:56.968345"], ["updated_at", "2015-06-15 17:02:56.968345"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered pages_cms/admin/pages/_page_block_fields.html.haml (97.1ms) Rendered pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (149.7ms) Completed 500 Internal Server Error in 196ms (ActiveRecord: 3.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.1ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (44.9ms) Completed 500 Internal Server Error in 77ms (ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 17:02:57.363671"], ["updated_at", "2015-06-15 17:02:57.363671"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:02:57.387926"], ["updated_at", "2015-06-15 17:02:57.387926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:02:57.401422"], ["updated_at", "2015-06-15 17:02:57.401422"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.6ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 17:05:43', '2015-06-15 17:05:43') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 17:05:43', '2015-06-15 17:05:43', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 17:05:43', '2015-06-15 17:05:43') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:05:43', '2015-06-15 17:05:43', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 17:05:43', '2015-06-15 17:05:43', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 17:05:43', '2015-06-15 17:05:43', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 17:05:43', '2015-06-15 17:05:43', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.5ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 17:05:43', '2015-06-15 17:05:43') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 17:05:43', '2015-06-15 17:05:43') Fixture Delete (0.7ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 17:05:43', '2015-06-15 17:05:43', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 17:05:43', '2015-06-15 17:05:43', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:05:43', '2015-06-15 17:05:43', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 17:05:43', '2015-06-15 17:05:43', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 17:05:43', '2015-06-15 17:05:43', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:05:43', '2015-06-15 17:05:43', 298486374)  (1.1ms) COMMIT  (2.2ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (139.3ms) Rendered pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (149.5ms) Completed 500 Internal Server Error in 5601ms (ActiveRecord: 0.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.8ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (9.4ms) Completed 500 Internal Server Error in 47ms (ActiveRecord: 0.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (5.1ms) Rendered pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (7.2ms) Completed 500 Internal Server Error in 21ms (ActiveRecord: 1.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (3.7ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:05:49.948397"], ["updated_at", "2015-06-15 17:05:49.948397"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.5ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:05:49.970550"], ["updated_at", "2015-06-15 17:05:49.970550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.5ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 17:05:49.978265"], ["updated_at", "2015-06-15 17:05:49.978265"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (1.0ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.6ms) ROLLBACK  (2.5ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.8ms) ROLLBACK  (0.4ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.7ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:05:50.020056"], ["updated_at", "2015-06-15 17:05:50.020056"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1  (0.6ms) RELEASE SAVEPOINT active_record_1  (0.7ms) ROLLBACK  (1.4ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:05:50.042709"], ["updated_at", "2015-06-15 17:05:50.042709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered pages_cms/admin/pages/_page_block_fields.html.haml (43.4ms) Rendered pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (74.0ms) Completed 500 Internal Server Error in 186ms (ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (52.8ms) Completed 500 Internal Server Error in 61ms (ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (18.6ms) Completed 500 Internal Server Error in 59ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 17:05:50.731341"], ["updated_at", "2015-06-15 17:05:50.731341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 17:06:59', '2015-06-15 17:06:59') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 17:06:59', '2015-06-15 17:06:59', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (19.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 17:06:59', '2015-06-15 17:06:59') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:06:59', '2015-06-15 17:06:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 17:06:59', '2015-06-15 17:06:59', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 17:06:59', '2015-06-15 17:06:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 17:06:59', '2015-06-15 17:06:59', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.7ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 17:06:59', '2015-06-15 17:06:59') Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 17:06:59', '2015-06-15 17:06:59') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (12.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 17:06:59', '2015-06-15 17:06:59', 980190962) Fixture Insert (0.5ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 17:06:59', '2015-06-15 17:06:59', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:06:59', '2015-06-15 17:06:59', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 17:06:59', '2015-06-15 17:06:59', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 17:06:59', '2015-06-15 17:06:59', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:06:59', '2015-06-15 17:06:59', 298486374)  (1.0ms) COMMIT  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:06:59.462076"], ["updated_at", "2015-06-15 17:06:59.462076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered pages_cms/admin/pages/_page_block_fields.html.haml (37.8ms) Rendered pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (840.7ms) Completed 500 Internal Server Error in 953ms (ActiveRecord: 3.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (84.2ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (28.3ms) Completed 200 OK in 6618ms (Views: 6613.3ms | ActiveRecord: 4.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 17:07:07.385341"], ["updated_at", "2015-06-15 17:07:07.385341"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:07:07.417035"], ["updated_at", "2015-06-15 17:07:07.417035"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:07:07.425377"], ["updated_at", "2015-06-15 17:07:07.425377"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:07:07.447265"], ["updated_at", "2015-06-15 17:07:07.447265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (17.4ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (6.8ms) Completed 200 OK in 52ms (Views: 48.5ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.9ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.5ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 17:07:07.731769"], ["updated_at", "2015-06-15 17:07:07.731769"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.5ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (6.8ms) Rendered pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (11.5ms) PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (6.3ms) Completed 200 OK in 30ms (Views: 25.5ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (13.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (6.4ms) Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (4.4ms) Rendered pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (6.5ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (5.5ms) Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.9ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 17:08:01', '2015-06-15 17:08:01') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 17:08:01', '2015-06-15 17:08:01', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (19.7ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 17:08:01', '2015-06-15 17:08:01') Fixture Delete (0.6ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:08:01', '2015-06-15 17:08:01', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 17:08:01', '2015-06-15 17:08:01', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 17:08:01', '2015-06-15 17:08:01', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 17:08:01', '2015-06-15 17:08:01', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 17:08:01', '2015-06-15 17:08:01') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 17:08:01', '2015-06-15 17:08:01') Fixture Delete (0.7ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (2.7ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 17:08:01', '2015-06-15 17:08:01', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 17:08:01', '2015-06-15 17:08:01', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:08:01', '2015-06-15 17:08:01', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 17:08:01', '2015-06-15 17:08:01', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 17:08:01', '2015-06-15 17:08:01', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:08:01', '2015-06-15 17:08:01', 298486374)  (1.1ms) COMMIT  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (200.6ms) Rendered pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (212.4ms) PagesCms::Page Load (1.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (121.9ms) Completed 200 OK in 5515ms (Views: 5505.2ms | ActiveRecord: 3.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.9ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (9.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (5.3ms) Completed 200 OK in 32ms (Views: 29.6ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/articles/_form.html.haml (4.3ms) Rendered pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (6.5ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (7.6ms) Completed 200 OK in 22ms (Views: 18.0ms | ActiveRecord: 2.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:08:06.997119"], ["updated_at", "2015-06-15 17:08:06.997119"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:08:07.011254"], ["updated_at", "2015-06-15 17:08:07.011254"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:08:07.025253"], ["updated_at", "2015-06-15 17:08:07.025253"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:08:07.042773"], ["updated_at", "2015-06-15 17:08:07.042773"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (13.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (6.9ms) Completed 200 OK in 30ms (Views: 28.0ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.7ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 17:08:07.283720"], ["updated_at", "2015-06-15 17:08:07.283720"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (1.0ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.3ms) ROLLBACK  (0.4ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 17:08:07.298310"], ["updated_at", "2015-06-15 17:08:07.298310"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.4ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered pages_cms/admin/pages/_jumbotron_fields.html.haml (5.6ms) Rendered pages_cms/admin/pages/_text_box_fields.html.haml (2.7ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered pages_cms/admin/pages/_thumbnail_fields.html.haml (6.3ms) Rendered pages_cms/admin/pages/_page_block_fields.html.haml (43.1ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered pages_cms/admin/pages/_jumbotron_fields.html.haml (2.6ms) Rendered pages_cms/admin/pages/_text_box_fields.html.haml (0.6ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered pages_cms/admin/pages/_thumbnail_fields.html.haml (2.9ms) Rendered pages_cms/admin/pages/_page_block_fields.html.haml (15.3ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.8ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (102.7ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (6.0ms) Completed 200 OK in 137ms (Views: 119.6ms | ActiveRecord: 8.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (15.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered layouts/pages_cms/_header.html.erb (6.2ms) Completed 200 OK in 28ms (Views: 23.8ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (19.1ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.8ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 17:38:27', '2015-06-15 17:38:27') Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 17:38:27', '2015-06-15 17:38:27', 298486374) Fixture Delete (0.9ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 17:38:27', '2015-06-15 17:38:27') Fixture Delete (1.1ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:38:27', '2015-06-15 17:38:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 17:38:27', '2015-06-15 17:38:27', 298486374) Fixture Delete (1.1ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 17:38:27', '2015-06-15 17:38:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 17:38:27', '2015-06-15 17:38:27', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.5ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 17:38:27', '2015-06-15 17:38:27') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 17:38:27', '2015-06-15 17:38:27') Fixture Delete (1.2ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 17:38:27', '2015-06-15 17:38:27', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 17:38:27', '2015-06-15 17:38:27', 298486374) Fixture Delete (1.0ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:38:27', '2015-06-15 17:38:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 17:38:27', '2015-06-15 17:38:27', 298486374) Fixture Delete (1.4ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.4ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 17:38:27', '2015-06-15 17:38:27', 980190962) Fixture Insert (0.6ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:38:27', '2015-06-15 17:38:27', 298486374)  (1.2ms) COMMIT  (2.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (68.4ms) PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (118.1ms) Completed 200 OK in 6289ms (Views: 6282.7ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.5ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 17:38:34.342625"], ["updated_at", "2015-06-15 17:38:34.342625"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:38:34.439652"], ["updated_at", "2015-06-15 17:38:34.439652"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 17:38:34.631094"], ["updated_at", "2015-06-15 17:38:34.631094"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.8ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:38:34.653025"], ["updated_at", "2015-06-15 17:38:34.653025"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.6ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (4.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (2.0ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (87.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (2.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (0.4ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (13.2ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.8ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (187.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.3ms) Completed 200 OK in 251ms (Views: 206.0ms | ActiveRecord: 9.1ms)  (0.4ms) ROLLBACK  (0.6ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.1ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (18.4ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.0ms) Completed 200 OK in 53ms (Views: 48.0ms | ActiveRecord: 4.9ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (10.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (27.4ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.7ms) Completed 200 OK in 59ms (Views: 53.8ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (6.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (8.9ms) PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (9.2ms) Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 3.1ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (14.0ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.2ms) Completed 200 OK in 51ms (Views: 48.6ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:38:35.198705"], ["updated_at", "2015-06-15 17:38:35.198705"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:38:35.207410"], ["updated_at", "2015-06-15 17:38:35.207410"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 17:47:23', '2015-06-15 17:47:23') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 17:47:23', '2015-06-15 17:47:23', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (30.8ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 17:47:23', '2015-06-15 17:47:23') Fixture Delete (0.6ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:47:23', '2015-06-15 17:47:23', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 17:47:23', '2015-06-15 17:47:23', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 17:47:23', '2015-06-15 17:47:23', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 17:47:23', '2015-06-15 17:47:23', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 17:47:23', '2015-06-15 17:47:23') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 17:47:23', '2015-06-15 17:47:23') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (11.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 17:47:24', '2015-06-15 17:47:24', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 17:47:24', '2015-06-15 17:47:24', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:47:24', '2015-06-15 17:47:24', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 17:47:24', '2015-06-15 17:47:24', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (7.4ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 17:47:24', '2015-06-15 17:47:24', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 17:47:24', '2015-06-15 17:47:24', 298486374)  (1.1ms) COMMIT  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:47:24.082096"], ["updated_at", "2015-06-15 17:47:24.082096"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (4.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (3.5ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (8.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (90.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (2.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (23.7ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.7ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (242.2ms) PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (34.2ms) Completed 200 OK in 828ms (Views: 780.7ms | ActiveRecord: 8.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (17.0ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.8ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.4ms) Completed 200 OK in 39ms (Views: 34.6ms | ActiveRecord: 4.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:47:25.238137"], ["updated_at", "2015-06-15 17:47:25.238137"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:47:25.249776"], ["updated_at", "2015-06-15 17:47:25.249776"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 17:47:25.258484"], ["updated_at", "2015-06-15 17:47:25.258484"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (7.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (24.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.5ms) Completed 200 OK in 72ms (Views: 68.3ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (11.2ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.0ms) Completed 200 OK in 41ms (Views: 37.8ms | ActiveRecord: 2.7ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (4.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (6.3ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.8ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.8ms) Completed 200 OK in 30ms (Views: 26.3ms | ActiveRecord: 3.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (15.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.3ms) Completed 200 OK in 48ms (Views: 45.7ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 17:47:25.773448"], ["updated_at", "2015-06-15 17:47:25.773448"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.8ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (1.2ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 17:47:25.803282"], ["updated_at", "2015-06-15 17:47:25.803282"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (19.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (8.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.7ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 18:42:35', '2015-06-15 18:42:35') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 18:42:35', '2015-06-15 18:42:35', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 18:42:35', '2015-06-15 18:42:35') Fixture Delete (0.6ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 18:42:35', '2015-06-15 18:42:35', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 18:42:35', '2015-06-15 18:42:35', 298486374) Fixture Delete (1.1ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 18:42:35', '2015-06-15 18:42:35', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 18:42:35', '2015-06-15 18:42:35', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 18:42:35', '2015-06-15 18:42:35') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 18:42:35', '2015-06-15 18:42:35') Fixture Delete (0.9ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 18:42:35', '2015-06-15 18:42:35', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 18:42:35', '2015-06-15 18:42:35', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 18:42:35', '2015-06-15 18:42:35', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 18:42:35', '2015-06-15 18:42:35', 298486374) Fixture Delete (0.9ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 18:42:35', '2015-06-15 18:42:35', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 18:42:35', '2015-06-15 18:42:35', 298486374)  (1.2ms) COMMIT  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (16.3ms) PagesCms::Page Load (1.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (126.7ms) Completed 200 OK in 7054ms (Views: 7050.8ms | ActiveRecord: 2.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (135.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (155.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.6ms) Completed 200 OK in 184ms (Views: 180.8ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (3.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (4.9ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.3ms) Completed 200 OK in 16ms (Views: 13.5ms | ActiveRecord: 2.1ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 18:42:43.061809"], ["updated_at", "2015-06-15 18:42:43.061809"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 18:42:43.070913"], ["updated_at", "2015-06-15 18:42:43.070913"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 18:42:43.081694"], ["updated_at", "2015-06-15 18:42:43.081694"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (4.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (1.8ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (4.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (97.2ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (2.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (0.3ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (12.5ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.8ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (200.4ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.3ms) Completed 200 OK in 253ms (Views: 217.9ms | ActiveRecord: 8.3ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (14.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.2ms) Completed 200 OK in 34ms (Views: 29.3ms | ActiveRecord: 4.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 18:42:43.425908"], ["updated_at", "2015-06-15 18:42:43.425908"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 18:42:43.431656"], ["updated_at", "2015-06-15 18:42:43.431656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (24.7ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.8ms) Completed 200 OK in 54ms (Views: 51.1ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 18:42:43.516305"], ["updated_at", "2015-06-15 18:42:43.516305"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (51.2ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (19.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (1.0ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:06:48', '2015-06-15 22:06:48') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:06:48', '2015-06-15 22:06:48', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:06:48', '2015-06-15 22:06:48') Fixture Delete (0.6ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:06:48', '2015-06-15 22:06:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:06:48', '2015-06-15 22:06:48', 298486374) Fixture Delete (1.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.5ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:06:48', '2015-06-15 22:06:48', 980190962) Fixture Insert (0.5ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:06:48', '2015-06-15 22:06:48', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:06:48', '2015-06-15 22:06:48') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:06:48', '2015-06-15 22:06:48') Fixture Delete (0.9ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:06:48', '2015-06-15 22:06:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:06:48', '2015-06-15 22:06:48', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:06:48', '2015-06-15 22:06:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:06:48', '2015-06-15 22:06:48', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:06:48', '2015-06-15 22:06:48', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:06:48', '2015-06-15 22:06:48', 298486374)  (1.3ms) COMMIT  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.8ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (44.1ms) Completed 500 Internal Server Error in 6043ms (ActiveRecord: 0.8ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (121.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (183.7ms) Completed 500 Internal Server Error in 229ms (ActiveRecord: 1.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (6.9ms) Completed 500 Internal Server Error in 35ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (3.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (4.5ms) Completed 500 Internal Server Error in 20ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (12.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.5ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (37.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (88.2ms) Completed 500 Internal Server Error in 162ms (ActiveRecord: 15.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (45.7ms) Completed 500 Internal Server Error in 74ms (ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (24.9ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.0ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 22:06:56.270477"], ["updated_at", "2015-06-15 22:06:56.270477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (11.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:14:31', '2015-06-15 22:14:31') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:14:31', '2015-06-15 22:14:31', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (16.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:14:31', '2015-06-15 22:14:31') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:14:31', '2015-06-15 22:14:31', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:14:31', '2015-06-15 22:14:31', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:14:31', '2015-06-15 22:14:31', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:14:31', '2015-06-15 22:14:31', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:14:31', '2015-06-15 22:14:31') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:14:31', '2015-06-15 22:14:31') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:14:31', '2015-06-15 22:14:31', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:14:31', '2015-06-15 22:14:31', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (1.7ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:14:31', '2015-06-15 22:14:31', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:14:31', '2015-06-15 22:14:31', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.4ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:14:31', '2015-06-15 22:14:31', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:14:31', '2015-06-15 22:14:31', 298486374)  (20.9ms) COMMIT  (2.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) ROLLBACK  (0.3ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (26.8ms) PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (159.2ms) Completed 200 OK in 7064ms (Views: 7061.0ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (47.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (67.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 97ms (Views: 94.3ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (2.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (4.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.0ms) Completed 200 OK in 14ms (Views: 12.0ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.9ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.5ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.5ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (7.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (3.0ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (4.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (161.2ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (2.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (12.2ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (1.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (402.1ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.5ms) Completed 200 OK in 476ms (Views: 436.1ms | ActiveRecord: 9.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (14.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (3.8ms) Completed 200 OK in 55ms (Views: 51.6ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (25.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.5ms) Completed 200 OK in 59ms (Views: 57.0ms | ActiveRecord: 1.8ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.6ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 22:14:40.011567"], ["updated_at", "2015-06-15 22:14:40.011567"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.6ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:16:08', '2015-06-15 22:16:08') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:16:08', '2015-06-15 22:16:08', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:16:08', '2015-06-15 22:16:08') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:16:08', '2015-06-15 22:16:08', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:16:08', '2015-06-15 22:16:08', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:16:08', '2015-06-15 22:16:08', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:16:08', '2015-06-15 22:16:08', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:16:08', '2015-06-15 22:16:08') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:16:08', '2015-06-15 22:16:08') Fixture Delete (0.4ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:16:08', '2015-06-15 22:16:08', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:16:08', '2015-06-15 22:16:08', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:16:08', '2015-06-15 22:16:08', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:16:08', '2015-06-15 22:16:08', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:16:08', '2015-06-15 22:16:08', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:16:08', '2015-06-15 22:16:08', 298486374)  (1.5ms) COMMIT  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.5ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.5ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (8.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (3.3ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (9.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (112.7ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (3.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (0.5ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (35.9ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (1.0ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (555.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (63.3ms) Completed 200 OK in 993ms (Views: 946.4ms | ActiveRecord: 9.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (15.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.0ms) Completed 200 OK in 44ms (Views: 40.4ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.9ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.5ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 22:16:09.893343"], ["updated_at", "2015-06-15 22:16:09.893343"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (15.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.4ms) Completed 200 OK in 39ms (Views: 36.9ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.3ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) ROLLBACK  (0.3ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (1.0ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (15.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (32.8ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.8ms) Completed 200 OK in 62ms (Views: 57.7ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.8ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (13.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.7ms) Completed 200 OK in 43ms (Views: 40.4ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (5.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (7.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.5ms) Completed 200 OK in 32ms (Views: 30.1ms | ActiveRecord: 1.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (7.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.7ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:17:24', '2015-06-15 22:17:24') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:17:24', '2015-06-15 22:17:24', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (18.1ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:17:24', '2015-06-15 22:17:24') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:17:24', '2015-06-15 22:17:24', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:17:24', '2015-06-15 22:17:24', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:17:24', '2015-06-15 22:17:24', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:17:24', '2015-06-15 22:17:24', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:17:24', '2015-06-15 22:17:24') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:17:24', '2015-06-15 22:17:24') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:17:24', '2015-06-15 22:17:24', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:17:24', '2015-06-15 22:17:24', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (16.9ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:17:24', '2015-06-15 22:17:24', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:17:24', '2015-06-15 22:17:24', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (12.6ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:17:24', '2015-06-15 22:17:24', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:17:24', '2015-06-15 22:17:24', 298486374)  (9.1ms) COMMIT  (4.2ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:17:24.869758"], ["updated_at", "2015-06-15 22:17:24.869758"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:17:24.965855"], ["updated_at", "2015-06-15 22:17:24.965855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.7ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (44.1ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (108.7ms) Completed 200 OK in 651ms (Views: 645.2ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 22:17:25.906195"], ["updated_at", "2015-06-15 22:17:25.906195"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.7ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (29.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (4.2ms) PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (8.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (145.3ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (2.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (12.8ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.8ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (302.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.9ms) Completed 200 OK in 342ms (Views: 326.0ms | ActiveRecord: 9.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (19.1ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.4ms) Completed 200 OK in 39ms (Views: 34.9ms | ActiveRecord: 3.6ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.3ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:17:26.326181"], ["updated_at", "2015-06-15 22:17:26.326181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:17:26.331136"], ["updated_at", "2015-06-15 22:17:26.331136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 22:17:26.489123"], ["updated_at", "2015-06-15 22:17:26.489123"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (7.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (22.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 55ms (Views: 50.8ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (4.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (6.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.7ms) Completed 200 OK in 18ms (Views: 16.0ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (14.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.2ms) Completed 200 OK in 45ms (Views: 42.7ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.9ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (11.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.9ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:30:42', '2015-06-15 22:30:42') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:30:42', '2015-06-15 22:30:42', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_images" Fixture Insert (157.9ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:30:42', '2015-06-15 22:30:42') Fixture Delete (0.8ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.5ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:30:42', '2015-06-15 22:30:42', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:30:42', '2015-06-15 22:30:42', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:30:42', '2015-06-15 22:30:42', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:30:42', '2015-06-15 22:30:42', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:30:42', '2015-06-15 22:30:42') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:30:42', '2015-06-15 22:30:42') Fixture Delete (0.4ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:30:42', '2015-06-15 22:30:42', 980190962) Fixture Insert (0.6ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:30:42', '2015-06-15 22:30:42', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (1.7ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:30:42', '2015-06-15 22:30:42', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:30:42', '2015-06-15 22:30:42', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.5ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:30:42', '2015-06-15 22:30:42', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:30:42', '2015-06-15 22:30:42', 298486374)  (1.3ms) COMMIT  (4.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.9ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (147.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (194.8ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (95.2ms) Completed 200 OK in 1141ms (Views: 1127.9ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (10.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.0ms) Completed 200 OK in 33ms (Views: 30.1ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (4.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (6.2ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.6ms) Completed 200 OK in 31ms (Views: 28.1ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:30:44.239261"], ["updated_at", "2015-06-15 22:30:44.239261"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 22:30:44.258070"], ["updated_at", "2015-06-15 22:30:44.258070"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:30:44.278071"], ["updated_at", "2015-06-15 22:30:44.278071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (26.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.0ms) Completed 200 OK in 51ms (Views: 49.1ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (5.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (2.7ms) PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (7.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (133.6ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (2.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (0.6ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (13.9ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.7ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (244.4ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.6ms) Completed 200 OK in 296ms (Views: 261.1ms | ActiveRecord: 9.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (18.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.1ms) Completed 200 OK in 40ms (Views: 35.9ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:30:44.712253"], ["updated_at", "2015-06-15 22:30:44.712253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:30:44.717638"], ["updated_at", "2015-06-15 22:30:44.717638"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.8ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 22:30:44.874156"], ["updated_at", "2015-06-15 22:30:44.874156"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (32.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (22.8ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:45:36', '2015-06-15 22:45:36') Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:45:36', '2015-06-15 22:45:36', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_images" Fixture Insert (1.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:45:36', '2015-06-15 22:45:36') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:45:36', '2015-06-15 22:45:36', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:45:36', '2015-06-15 22:45:36', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:45:36', '2015-06-15 22:45:36', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:45:36', '2015-06-15 22:45:36', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:45:36', '2015-06-15 22:45:36') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:45:36', '2015-06-15 22:45:36') Fixture Delete (0.4ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:45:36', '2015-06-15 22:45:36', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:45:36', '2015-06-15 22:45:36', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (10.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:45:36', '2015-06-15 22:45:36', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:45:36', '2015-06-15 22:45:36', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (1.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:45:36', '2015-06-15 22:45:36', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:45:36', '2015-06-15 22:45:36', 298486374)  (1.6ms) COMMIT  (2.4ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.3ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.9ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (67.1ms) PagesCms::Page Load (1.1ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (117.4ms) Completed 200 OK in 737ms (Views: 729.4ms | ActiveRecord: 3.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:45:37.269103"], ["updated_at", "2015-06-15 22:45:37.269103"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.3ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:45:37.378158"], ["updated_at", "2015-06-15 22:45:37.378158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show ---------------------------------------------------  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:45:37.498295"], ["updated_at", "2015-06-15 22:45:37.498295"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.7ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.6ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.5ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (7.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (2.6ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (98.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (2.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (0.5ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (14.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (1.1ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (260.9ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.4ms) Completed 200 OK in 320ms (Views: 280.0ms | ActiveRecord: 10.4ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (18.6ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.3ms) Completed 200 OK in 45ms (Views: 40.3ms | ActiveRecord: 3.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.6ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 22:45:38.100669"], ["updated_at", "2015-06-15 22:45:38.100669"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.7ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (11.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (44.2ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.7ms) Completed 200 OK in 120ms (Views: 88.8ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.8ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (17.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.3ms) Completed 200 OK in 43ms (Views: 40.6ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (3.1ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (18.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (23.6ms) PagesCms::Page Load (2.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (12.5ms) Completed 200 OK in 52ms (Views: 44.3ms | ActiveRecord: 6.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.6ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:45:38.402085"], ["updated_at", "2015-06-15 22:45:38.402085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 22:45:38.408245"], ["updated_at", "2015-06-15 22:45:38.408245"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (4.9ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.7ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:48:09', '2015-06-15 22:48:09') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:48:09', '2015-06-15 22:48:09', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:48:09', '2015-06-15 22:48:09') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:48:09', '2015-06-15 22:48:09', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:48:09', '2015-06-15 22:48:09', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:48:09', '2015-06-15 22:48:09', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:48:09', '2015-06-15 22:48:09', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:48:09', '2015-06-15 22:48:09') Fixture Insert (0.6ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:48:09', '2015-06-15 22:48:09') Fixture Delete (17.9ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.8ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:48:09', '2015-06-15 22:48:09', 980190962) Fixture Insert (0.5ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:48:09', '2015-06-15 22:48:09', 298486374) Fixture Delete (0.9ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.6ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:48:09', '2015-06-15 22:48:09', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:48:09', '2015-06-15 22:48:09', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:48:09', '2015-06-15 22:48:09', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:48:09', '2015-06-15 22:48:09', 298486374)  (1.2ms) COMMIT  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home --------------------------------------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (7.2ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (49.5ms) Completed 200 OK in 655ms (Views: 648.7ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:48:49', '2015-06-15 22:48:49') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:48:49', '2015-06-15 22:48:49', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:48:49', '2015-06-15 22:48:49') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:48:49', '2015-06-15 22:48:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:48:49', '2015-06-15 22:48:49', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:48:49', '2015-06-15 22:48:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:48:49', '2015-06-15 22:48:49', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:48:49', '2015-06-15 22:48:49') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:48:49', '2015-06-15 22:48:49') Fixture Delete (0.4ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:48:49', '2015-06-15 22:48:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:48:49', '2015-06-15 22:48:49', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (18.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:48:49', '2015-06-15 22:48:49', 980190962) Fixture Insert (0.5ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:48:49', '2015-06-15 22:48:49', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.4ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:48:49', '2015-06-15 22:48:49', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:48:49', '2015-06-15 22:48:49', 298486374)  (1.8ms) COMMIT  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (62.6ms) PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (117.6ms) Completed 200 OK in 796ms (Views: 792.7ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (8.1ms) PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.9ms) Completed 200 OK in 35ms (Views: 31.5ms | ActiveRecord: 2.4ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (25.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (1.0ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:49:26', '2015-06-15 22:49:26') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:49:26', '2015-06-15 22:49:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:49:26', '2015-06-15 22:49:26') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:49:26', '2015-06-15 22:49:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:49:26', '2015-06-15 22:49:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:49:26', '2015-06-15 22:49:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:49:26', '2015-06-15 22:49:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:49:26', '2015-06-15 22:49:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:49:26', '2015-06-15 22:49:26') Fixture Delete (0.4ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:49:26', '2015-06-15 22:49:26', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:49:26', '2015-06-15 22:49:26', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (19.5ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:49:26', '2015-06-15 22:49:26', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:49:26', '2015-06-15 22:49:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.4ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:49:26', '2015-06-15 22:49:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:49:26', '2015-06-15 22:49:26', 298486374)  (1.2ms) COMMIT  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (1.0ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:50:10', '2015-06-15 22:50:10') Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:50:10', '2015-06-15 22:50:10', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:50:10', '2015-06-15 22:50:10') Fixture Delete (0.6ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:50:10', '2015-06-15 22:50:10', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:50:10', '2015-06-15 22:50:10', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:50:10', '2015-06-15 22:50:10', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:50:10', '2015-06-15 22:50:10', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:50:10', '2015-06-15 22:50:10') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:50:10', '2015-06-15 22:50:10') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:50:10', '2015-06-15 22:50:10', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:50:10', '2015-06-15 22:50:10', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:50:10', '2015-06-15 22:50:10', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:50:10', '2015-06-15 22:50:10', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.4ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:50:10', '2015-06-15 22:50:10', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:50:10', '2015-06-15 22:50:10', 298486374)  (0.9ms) COMMIT  (2.8ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.9ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Jumbotron Load (0.5ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.6ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (32.7ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (56.4ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (68.1ms) Completed 200 OK in 707ms (Views: 648.1ms | ActiveRecord: 5.8ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.2ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-15 22:50:33', '2015-06-15 22:50:33') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-15 22:50:33', '2015-06-15 22:50:33', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-15 22:50:33', '2015-06-15 22:50:33') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:50:33', '2015-06-15 22:50:33', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "content_rendered", "created_at", "updated_at", "id") VALUES (1, 'string', '

hello

', '2015-06-15 22:50:33', '2015-06-15 22:50:33', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-15 22:50:33', '2015-06-15 22:50:33', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-15 22:50:33', '2015-06-15 22:50:33', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-15 22:50:33', '2015-06-15 22:50:33') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-15 22:50:33', '2015-06-15 22:50:33') Fixture Delete (0.7ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.5ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-15 22:50:33', '2015-06-15 22:50:33', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 2, '2015-06-15 22:50:33', '2015-06-15 22:50:33', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:50:33', '2015-06-15 22:50:33', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (NULL, '

hello

', '2015-06-15 22:50:33', '2015-06-15 22:50:33', 298486374) Fixture Delete (1.3ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.6ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, '

hello

', 'string', '1', 1, '2015-06-15 22:50:33', '2015-06-15 22:50:33', 980190962) Fixture Insert (0.7ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-15 22:50:33', '2015-06-15 22:50:33', 298486374)  (1.8ms) COMMIT  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.9ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (148.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (173.5ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (73.1ms) Completed 200 OK in 740ms (Views: 733.9ms | ActiveRecord: 3.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (9.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.8ms) Completed 200 OK in 44ms (Views: 41.7ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (4.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (6.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.0ms) Completed 200 OK in 34ms (Views: 32.1ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (26.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.5ms) Completed 200 OK in 51ms (Views: 48.8ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::JumbotronTest: test_markdown_is_rendered --------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_jumbotrons" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:50:35.201616"], ["updated_at", "2015-06-15 22:50:35.201616"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::ArticleTest: test_valid_article -----------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "content_rendered", "content", "tags", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "title"], ["content_rendered", "

content

\n"], ["content", "content"], ["tags", "{tag,more}"], ["created_at", "2015-06-15 22:50:35.216348"], ["updated_at", "2015-06-15 22:50:35.216348"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.5ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-15 22:50:35.442014"], ["updated_at", "2015-06-15 22:50:35.442014"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::TextBoxTest: test_markdown_is_rendered ------------------------------------------------  (0.2ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "pages_cms_text_boxes" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:50:35.458910"], ["updated_at", "2015-06-15 22:50:35.458910"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.5ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.5ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (5.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (2.8ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (6.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (99.0ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (2.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (15.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.8ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (194.4ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.8ms) Completed 200 OK in 243ms (Views: 208.6ms | ActiveRecord: 8.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (16.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.6ms) Completed 200 OK in 44ms (Views: 39.8ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::SidebarTest: test_markdown_is_rendered ------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_sidebars" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:50:35.769320"], ["updated_at", "2015-06-15 22:50:35.769320"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------- PagesCms::ThumbnailTest: test_markdown_is_rendered --------------------------------------------------  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_thumbnails" ("content_rendered", "content", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content_rendered", "

This is bongos, indeed

\n"], ["content", "This is *bongos*, indeed"], ["created_at", "2015-06-15 22:50:35.779714"], ["updated_at", "2015-06-15 22:50:35.779714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (23.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (12.0ms) Completed 200 OK in 56ms (Views: 54.4ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (2.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.8ms) Completed 200 OK in 31ms (Views: 28.9ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Jumbotron Load (0.3ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (10.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (26.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.5ms) Completed 200 OK in 65ms (Views: 57.7ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (318.4ms) DROP DATABASE IF EXISTS "dummy_test"  (1412.1ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (67.6ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (70.5ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "content_rendered" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.2ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.5ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.5ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.7ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.8ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (7.6ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.1ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (24.4ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "content_rendered" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (12.3ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "content_rendered" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.8ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "content_rendered" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.2ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.2ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (25.8ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (5.4ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (3.7ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (3.0ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.6ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.6ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.5ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (5.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150616171349') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (367.9ms) DROP DATABASE IF EXISTS "dummy_test"  (1323.2ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (982.9ms) DROP DATABASE IF EXISTS "dummy_test"  (1424.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (63.1ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (12.8ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.2ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.7ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.5ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (4.0ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.5ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (7.1ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.3ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "add_links" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.2ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.5ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (8.7ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.2ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.7ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (10.8ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (4.9ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (4.1ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (3.5ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.2ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.5ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150617002507') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (225.4ms) DROP DATABASE IF EXISTS "dummy_test"  (2723.7ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (14.4ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.4ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (7.5ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.9ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.7ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (6.5ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.3ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.3ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "add_links" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.5ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (7.7ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.5ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (5.1ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.0ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (3.2ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.6ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (4.0ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.8ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.5ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150617002507') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (206.0ms) DROP DATABASE IF EXISTS "dummy_test"  (1981.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (13.8ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (4.5ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (7.7ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.6ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.5ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.2ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" character varying, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.6ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (7.8ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" character varying, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.1ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.8ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "add_links" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.6ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (7.0ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (14.1ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "link" character varying, "order" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.1ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.7ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.5ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.3ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.9ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.9ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.7ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.8ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.9ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (5.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.5ms) SELECT version FROM "schema_migrations"  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150609171657') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (20.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.6ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (17.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962)  (0.6ms) ROLLBACK  (4.4ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.5ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962)  (0.5ms) ROLLBACK  (2.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962)  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962)  (0.1ms) ROLLBACK  (4.7ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962)  (0.1ms) ROLLBACK  (3.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (4.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:50', '2015-06-17 01:16:50', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:50', '2015-06-17 01:16:50') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:50', '2015-06-17 01:16:50', 980190962)  (0.1ms) ROLLBACK  (18.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962)  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962)  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962)  (0.1ms) ROLLBACK  (2.7ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962)  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:16:51', '2015-06-17 01:16:51', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:16:51', '2015-06-17 01:16:51') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_jumbotrons" does not exist LINE 1: ...ERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_r... ^ : INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content_rendered", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:16:51', '2015-06-17 01:16:51', 980190962)  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.5ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.9ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (2.2ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.6ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.2ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (2.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (1.8ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.3ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.5ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (2.2ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (1.9ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (3.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:06', '2015-06-17 01:18:06', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962) PG::UndefinedColumn: ERROR: column "content_rendered" of relation "pages_cms_sidebars" does not exist LINE 1: INSERT INTO "pages_cms_sidebars" ("content", "content_render... ^ : INSERT INTO "pages_cms_sidebars" ("content", "content_rendered", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', '

hello

', 1, '2015-06-17 01:18:06', '2015-06-17 01:18:06', 980190962)  (0.1ms) ROLLBACK  (2.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.7ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:18:23', '2015-06-17 01:18:23') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:18:23', '2015-06-17 01:18:23', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:18:23', '2015-06-17 01:18:23') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:18:23', '2015-06-17 01:18:23', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:18:23', '2015-06-17 01:18:23', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:18:23', '2015-06-17 01:18:23', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:18:23', '2015-06-17 01:18:23', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:18:23', '2015-06-17 01:18:23') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:18:23', '2015-06-17 01:18:23') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 01:18:23', '2015-06-17 01:18:23', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 01:18:23', '2015-06-17 01:18:23', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:18:23', '2015-06-17 01:18:23', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 01:18:23', '2015-06-17 01:18:23', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.6ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, 'string', '1', 1, '2015-06-17 01:18:23', '2015-06-17 01:18:23', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:18:23', '2015-06-17 01:18:23', 298486374)  (1.2ms) COMMIT  (3.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.7ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (443.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (450.1ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (8.6ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (4.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (510.2ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.2ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (8.5ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (5.9ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (36.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.7ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (787.8ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (46.4ms) Completed 200 OK in 6716ms (Views: 6665.4ms | ActiveRecord: 13.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (12.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.7ms) Completed 200 OK in 39ms (Views: 35.1ms | ActiveRecord: 3.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (17.3ms) SAVEPOINT active_record_1 PagesCms::Page Exists (8.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 01:18:30.401765"], ["updated_at", "2015-06-17 01:18:30.401765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Jumbotron Load (0.3ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (7.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (12.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.5ms) Completed 200 OK in 26ms (Views: 19.6ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (16.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.3ms) Completed 200 OK in 41ms (Views: 39.4ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (24.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.2ms) Completed 200 OK in 52ms (Views: 49.5ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (22.2ms) Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (6.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.9ms) Completed 200 OK in 33ms (Views: 31.2ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (3.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (10.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (30.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.3ms) Completed 200 OK in 54ms (Views: 50.8ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (9.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (11.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.7ms) Completed 200 OK in 21ms (Views: 18.7ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:19:21', '2015-06-17 01:19:21') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:19:21', '2015-06-17 01:19:21', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:19:21', '2015-06-17 01:19:21') Fixture Delete (0.5ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.3ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:19:21', '2015-06-17 01:19:21', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:19:21', '2015-06-17 01:19:21', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', '1', '2015-06-17 01:19:21', '2015-06-17 01:19:21', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', '2', '2015-06-17 01:19:21', '2015-06-17 01:19:21', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:19:21', '2015-06-17 01:19:21') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:19:21', '2015-06-17 01:19:21') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 01:19:21', '2015-06-17 01:19:21', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 01:19:21', '2015-06-17 01:19:21', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:19:21', '2015-06-17 01:19:21', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 01:19:21', '2015-06-17 01:19:21', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, 'string', '1', 1, '2015-06-17 01:19:21', '2015-06-17 01:19:21', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:19:21', '2015-06-17 01:19:21', 298486374)  (1.3ms) COMMIT  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.2ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Jumbotron Load (0.5ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (24.9ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (34.5ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (23.5ms) Completed 200 OK in 307ms (Views: 265.5ms | ActiveRecord: 4.9ms)  (0.5ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.7ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (17.0ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.5ms) Completed 200 OK in 41ms (Views: 31.4ms | ActiveRecord: 3.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 01:19:22.344330"], ["updated_at", "2015-06-17 01:19:22.344330"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (23.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (48.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (53.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.1ms) Completed 200 OK in 67ms (Views: 62.9ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (9.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.4ms) Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 2.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.7ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (11.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (17.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (20.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.0ms) Completed 200 OK in 33ms (Views: 29.7ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (10.4ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (17.5ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (13.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (16.7ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (6.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (99.9ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (12.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (15.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (10.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (11.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (47.3ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (7.5ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.7ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (203.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.9ms) Completed 200 OK in 223ms (Views: 208.0ms | ActiveRecord: 11.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (20.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (10.9ms) Completed 200 OK in 40ms (Views: 33.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.3ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (1.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.6ms) Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (8.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.7ms) Completed 200 OK in 18ms (Views: 15.8ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (165.7ms) DROP DATABASE IF EXISTS "dummy_test"  (1090.4ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (0.4ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.3ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.3ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (6.5ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (6.7ms) CREATE TABLE "pages_cms_jumbotrons" ("id" serial primary key, "page_block_id" integer, "content" text, "link" character varying, "order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.6ms) CREATE INDEX "index_pages_cms_jumbotrons_on_page_block_id" ON "pages_cms_jumbotrons" USING btree ("page_block_id")  (6.5ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" integer, "name" character varying, "div_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.0ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (10.3ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" integer, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.7ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (6.2ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "content" text, "add_links" text, "show" boolean DEFAULT 't', "use_instead" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (9.0ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (4.4ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.0ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "link" character varying, "order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.6ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (3.6ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.0ms) ALTER TABLE "pages_cms_jumbotrons" ADD CONSTRAINT "fk_rails_756ebfb247" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.9ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (3.0ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.6ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.7ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.6ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (5.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.6ms) SELECT version FROM "schema_migrations"  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150609171657') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 01:50:00', '2015-06-17 01:50:00') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 01:50:00', '2015-06-17 01:50:00', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 01:50:00', '2015-06-17 01:50:00') Fixture Delete (0.4ms) DELETE FROM "pages_cms_jumbotrons" Fixture Insert (0.4ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "created_at", "updated_at", "id") VALUES (1, '2015-06-17 01:50:00', '2015-06-17 01:50:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_jumbotrons" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, 'string', '2015-06-17 01:50:00', '2015-06-17 01:50:00', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 01:50:00', '2015-06-17 01:50:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 01:50:00', '2015-06-17 01:50:00', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 01:50:00', '2015-06-17 01:50:00') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 01:50:00', '2015-06-17 01:50:00') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 01:50:00', '2015-06-17 01:50:00', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 01:50:00', '2015-06-17 01:50:00', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:50:00', '2015-06-17 01:50:00', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 01:50:00', '2015-06-17 01:50:00', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_thumbnails" Fixture Insert (0.6ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content", "link", "image_id", "created_at", "updated_at", "id") VALUES (1, 'string', '1', 1, '2015-06-17 01:50:00', '2015-06-17 01:50:00', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_thumbnails" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 01:50:00', '2015-06-17 01:50:00', 298486374)  (1.0ms) COMMIT  (6.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_jumbotrons" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.5ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 01:50:00.635836"], ["updated_at", "2015-06-17 01:50:00.635836"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.4ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Jumbotron Load (0.3ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (28.2ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (54.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.8ms) Completed 200 OK in 600ms (Views: 540.8ms | ActiveRecord: 4.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.3ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Jumbotron Load (0.4ms) SELECT "pages_cms_jumbotrons".* FROM "pages_cms_jumbotrons" WHERE "pages_cms_jumbotrons"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.2ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (53.8ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (78.9ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (8.1ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (4.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (121.8ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.9ms) PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_jumbotron_fields.html.haml (6.8ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (5.2ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (23.9ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.4ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.7ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (296.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.6ms) Completed 200 OK in 308ms (Views: 294.5ms | ActiveRecord: 12.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (35.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.6ms) Completed 200 OK in 55ms (Views: 52.0ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (11.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (30.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 67ms (Views: 63.0ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (8.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (10.5ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.0ms) Completed 200 OK in 20ms (Views: 17.4ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (8.1ms) PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.1ms) Completed 200 OK in 33ms (Views: 30.6ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (16.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.7ms) Completed 200 OK in 38ms (Views: 35.9ms | ActiveRecord: 1.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.3ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (27.4ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.7ms) Completed 200 OK in 63ms (Views: 60.3ms | ActiveRecord: 1.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.8ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (3.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.3ms) Completed 200 OK in 36ms (Views: 33.0ms | ActiveRecord: 2.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (178.6ms) DROP DATABASE IF EXISTS "dummy_test"  (1101.9ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (55.8ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.1ms) CREATE TABLE "pages_cms_articles" ("id" serial primary key, "image_id" integer, "content" text, "title" character varying, "draft" boolean, "archived" boolean, "tags" text[] DEFAULT '{}', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.4ms) CREATE INDEX "index_pages_cms_articles_on_image_id" ON "pages_cms_articles" USING btree ("image_id")  (5.5ms) CREATE TABLE "pages_cms_blog_feeds" ("id" serial primary key, "page_block_id" integer, "limit" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.1ms) CREATE INDEX "index_pages_cms_blog_feeds_on_page_block_id" ON "pages_cms_blog_feeds" USING btree ("page_block_id")  (6.7ms) CREATE TABLE "pages_cms_image_boxes" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "heading" character varying, "content" text, "order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.4ms) CREATE INDEX "index_pages_cms_image_boxes_on_image_id" ON "pages_cms_image_boxes" USING btree ("image_id")  (2.7ms) CREATE INDEX "index_pages_cms_image_boxes_on_page_block_id" ON "pages_cms_image_boxes" USING btree ("page_block_id")  (6.3ms) CREATE TABLE "pages_cms_images" ("id" serial primary key, "name" character varying, "file" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (6.7ms) CREATE TABLE "pages_cms_page_blocks" ("id" serial primary key, "page_id" integer, "order" integer, "name" character varying, "div_id" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.1ms) CREATE INDEX "index_pages_cms_page_blocks_on_page_id" ON "pages_cms_page_blocks" USING btree ("page_id")  (9.4ms) CREATE TABLE "pages_cms_pages" ("id" serial primary key, "title" character varying, "slug" character varying, "meta_tags" character varying, "meta_description" character varying, "draft" boolean, "parent_id" integer, "order" integer, "navbar_show" boolean DEFAULT 't', "sidebar_show" boolean DEFAULT 't', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) CREATE INDEX "index_pages_cms_pages_on_parent_id" ON "pages_cms_pages" USING btree ("parent_id")  (7.3ms) CREATE TABLE "pages_cms_sidebars" ("id" serial primary key, "page_id" integer, "use_instead" integer, "content" text, "links" text, "show" boolean DEFAULT 't', "fb_feed" boolean DEFAULT 'f', "tw_feed" boolean DEFAULT 'f', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.4ms) CREATE INDEX "index_pages_cms_sidebars_on_page_id" ON "pages_cms_sidebars" USING btree ("page_id")  (6.6ms) CREATE TABLE "pages_cms_sliders" ("id" serial primary key, "page_id" integer, "image_id" integer, "header" character varying, "link" character varying, "order" integer, "show" boolean, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (2.5ms) CREATE INDEX "index_pages_cms_sliders_on_image_id" ON "pages_cms_sliders" USING btree ("image_id")  (2.4ms) CREATE INDEX "index_pages_cms_sliders_on_page_id" ON "pages_cms_sliders" USING btree ("page_id")  (9.8ms) CREATE TABLE "pages_cms_text_boxes" ("id" serial primary key, "page_block_id" integer, "content" text, "order" integer, "css_class" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.0ms) CREATE INDEX "index_pages_cms_text_boxes_on_page_block_id" ON "pages_cms_text_boxes" USING btree ("page_block_id")  (6.5ms) CREATE TABLE "pages_cms_thumbnails" ("id" serial primary key, "page_block_id" integer, "image_id" integer, "content" text, "link" character varying, "order" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.4ms) CREATE INDEX "index_pages_cms_thumbnails_on_image_id" ON "pages_cms_thumbnails" USING btree ("image_id")  (2.0ms) CREATE INDEX "index_pages_cms_thumbnails_on_page_block_id" ON "pages_cms_thumbnails" USING btree ("page_block_id")  (6.0ms) ALTER TABLE "pages_cms_articles" ADD CONSTRAINT "fk_rails_9dc2606ec7" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (3.7ms) ALTER TABLE "pages_cms_blog_feeds" ADD CONSTRAINT "fk_rails_72bd24f32e" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.8ms) ALTER TABLE "pages_cms_image_boxes" ADD CONSTRAINT "fk_rails_4bcc9f7e58" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (2.5ms) ALTER TABLE "pages_cms_image_boxes" ADD CONSTRAINT "fk_rails_c891655099" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")   (2.6ms) ALTER TABLE "pages_cms_page_blocks" ADD CONSTRAINT "fk_rails_2f78dfe9ef" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")  (2.8ms) ALTER TABLE "pages_cms_sidebars" ADD CONSTRAINT "fk_rails_72f631044d" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.7ms) ALTER TABLE "pages_cms_sliders" ADD CONSTRAINT "fk_rails_70c9aecbd2" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")  (2.4ms) ALTER TABLE "pages_cms_sliders" ADD CONSTRAINT "fk_rails_86162b0c7f" FOREIGN KEY ("page_id") REFERENCES "pages_cms_pages" ("id")   (2.5ms) ALTER TABLE "pages_cms_text_boxes" ADD CONSTRAINT "fk_rails_89e03effd1" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (2.8ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_94d9a79bcc" FOREIGN KEY ("image_id") REFERENCES "pages_cms_images" ("id")   (2.7ms) ALTER TABLE "pages_cms_thumbnails" ADD CONSTRAINT "fk_rails_3968b879ef" FOREIGN KEY ("page_block_id") REFERENCES "pages_cms_page_blocks" ("id")  (5.4ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.7ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150609171657') ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (30.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.5ms) BEGIN Fixture Delete (1.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (1.0ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.6ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.5ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.6ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.5ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.5ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.7ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.5ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.6ms) ROLLBACK  (7.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (7.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.7ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (4.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.7ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (2.9ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (3.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (2.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (3.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (2.7ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.7ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (3.0ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.5ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.3ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (3.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (2.7ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (4.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (2.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.2ms) ROLLBACK  (2.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (3.0ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:26', '2015-06-17 14:26:26', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (4.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (3.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (2.7ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.2ms) DELETE FROM "pages_cms_images" Fixture Insert (0.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) Fixture Delete (0.3ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:26:27', '2015-06-17 14:26:27') Fixture Delete (0.3ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:26:27', '2015-06-17 14:26:27', 298486374) PG::UndefinedTable: ERROR: relation "pages_cms_slider_elements" does not exist LINE 5: WHERE a.attrelid = '"pages_cms_slider_element... ^ : SELECT a.attname, format_type(a.atttypid, a.atttypmod), pg_get_expr(d.adbin, d.adrelid), a.attnotnull, a.atttypid, a.atttypmod FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid = '"pages_cms_slider_elements"'::regclass AND a.attnum > 0 AND NOT a.attisdropped ORDER BY a.attnum  (0.1ms) ROLLBACK  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.7ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:27:53', '2015-06-17 14:27:53') Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 298486374) Fixture Delete (1.2ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:27:53', '2015-06-17 14:27:53') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.6ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:27:53', '2015-06-17 14:27:53', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:27:53', '2015-06-17 14:27:53', 298486374)  (0.8ms) COMMIT  (3.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (17.6ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.0ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 14:27:53.930688"], ["updated_at", "2015-06-17 14:27:53.930688"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.9ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (223.7ms) PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (174.1ms) Completed 200 OK in 7183ms (Views: 7175.7ms | ActiveRecord: 3.3ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (2.3ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.9ms) Completed 200 OK in 32ms (Views: 28.1ms | ActiveRecord: 2.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (18.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.1ms) Completed 200 OK in 72ms (Views: 69.2ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Slider Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.9ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.6ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.6ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (37.8ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (61.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.7ms) Completed 200 OK in 99ms (Views: 73.5ms | ActiveRecord: 9.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.3ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.5ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.4ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.7ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (21.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (36.1ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (8.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (6.6ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (5.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (175.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (5.7ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (1.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (4.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.6ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (1.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (29.5ms) PagesCms::Slider Load (0.5ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (1.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (9.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (8.8ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.8ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (1173.2ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.5ms) Completed 200 OK in 1204ms (Views: 1184.5ms | ActiveRecord: 17.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (20.3ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.4ms) Completed 200 OK in 56ms (Views: 52.4ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (7.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (17.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (61.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 93ms (Views: 89.7ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.3ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (14.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 78ms (Views: 76.3ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (3.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (8.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (10.2ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.0ms) Completed 200 OK in 38ms (Views: 34.6ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (19.2ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:33:13', '2015-06-17 14:33:13') Fixture Delete (0.6ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:33:13', '2015-06-17 14:33:13') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (1.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:33:13', '2015-06-17 14:33:13', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:33:13', '2015-06-17 14:33:13', 298486374)  (1.3ms) COMMIT  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (237.0ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (86.3ms) Completed 200 OK in 791ms (Views: 780.8ms | ActiveRecord: 2.6ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434551594_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-17 14:33:14.898835"], ["updated_at", "2015-06-17 14:33:14.898835"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 103ms (ActiveRecord: 0.7ms)  (0.5ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (59.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "pages_cms_articles" Fixture Insert (18.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:41:41', '2015-06-17 14:41:41') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:41:41', '2015-06-17 14:41:41', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:41:42', '2015-06-17 14:41:42') Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 980190962) Fixture Insert (0.6ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 298486374) Fixture Delete (1.0ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:41:42', '2015-06-17 14:41:42') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:41:42', '2015-06-17 14:41:42') Fixture Delete (0.7ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (1.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 298486374) Fixture Delete (1.0ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 298486374) Fixture Delete (0.9ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.5ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:41:42', '2015-06-17 14:41:42', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:41:42', '2015-06-17 14:41:42', 298486374)  (1.2ms) COMMIT  (3.1ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.6ms) SELECT COUNT(*) FROM "pages_cms_pages" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (5.8ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:41:42.696220"], ["updated_at", "2015-06-17 14:41:42.696220"]] SQL (2.1ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-17 14:41:42.705861"], ["updated_at", "2015-06-17 14:41:42.705861"]] SQL (0.7ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:41:42.711994"], ["updated_at", "2015-06-17 14:41:42.711994"]] SQL (0.6ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:41:42.715085"], ["updated_at", "2015-06-17 14:41:42.715085"]] SQL (0.7ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:41:42.717253"], ["updated_at", "2015-06-17 14:41:42.717253"]] SQL (0.6ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 14:41:42.719655"], ["updated_at", "2015-06-17 14:41:42.719655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 427ms (ActiveRecord: 12.6ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.3ms) ROLLBACK  (0.3ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.3ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.3ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (1.0ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (16.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (30.2ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (8.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (4.6ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (3.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (130.1ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (4.8ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.4ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (1.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (21.8ms) PagesCms::Slider Load (0.5ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (7.0ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (1.0ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (13.3ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (1.2ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (645.2ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (1.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (19.5ms) Completed 200 OK in 1073ms (Views: 1050.2ms | ActiveRecord: 18.2ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (46.5ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (9.7ms) Completed 200 OK in 79ms (Views: 73.9ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (50.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (20.8ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:42:51', '2015-06-17 14:42:51') Fixture Delete (0.6ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:42:51', '2015-06-17 14:42:51') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (1.1ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:42:51', '2015-06-17 14:42:51', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:42:51', '2015-06-17 14:42:51', 298486374)  (1.2ms) COMMIT  (2.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_pages" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:42:51.875475"], ["updated_at", "2015-06-17 14:42:51.875475"]] SQL (0.8ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-17 14:42:51.878043"], ["updated_at", "2015-06-17 14:42:51.878043"]] SQL (0.6ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:42:51.880387"], ["updated_at", "2015-06-17 14:42:51.880387"]] SQL (0.6ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:42:51.882732"], ["updated_at", "2015-06-17 14:42:51.882732"]] SQL (0.7ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:42:51.884802"], ["updated_at", "2015-06-17 14:42:51.884802"]] SQL (0.7ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 14:42:51.887232"], ["updated_at", "2015-06-17 14:42:51.887232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 395ms (ActiveRecord: 5.5ms)  (0.3ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (18.9ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.1ms) Completed 200 OK in 606ms (Views: 581.1ms | ActiveRecord: 4.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (3.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (1.2ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.3ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.6ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (19.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (39.1ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (3.9ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (4.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (163.7ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (17.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (18.3ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (2.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (43.8ms) PagesCms::Slider Load (0.4ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (9.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (8.9ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (468.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.6ms) Completed 200 OK in 513ms (Views: 484.8ms | ActiveRecord: 19.1ms)  (0.4ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (46.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (30.4ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33') Fixture Insert (0.7ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:44:33', '2015-06-17 14:44:33') Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:44:33', '2015-06-17 14:44:33') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (1.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 298486374) Fixture Delete (0.9ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:44:33', '2015-06-17 14:44:33', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:44:33', '2015-06-17 14:44:33', 298486374)  (1.2ms) COMMIT  (2.4ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.4ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.8ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (15.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (27.0ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (7.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (3.5ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (4.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (153.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (33.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (33.7ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.5ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (2.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (65.6ms) PagesCms::Slider Load (0.4ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (6.8ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.9ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (916.0ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (28.1ms) Completed 200 OK in 1353ms (Views: 1295.8ms | ActiveRecord: 15.8ms)  (0.4ms) ROLLBACK  (0.4ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (17.9ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.6ms) Completed 200 OK in 40ms (Views: 36.0ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_sidebars" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:44:35.402329"], ["updated_at", "2015-06-17 14:44:35.402329"]] SQL (0.7ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-17 14:44:35.405096"], ["updated_at", "2015-06-17 14:44:35.405096"]] SQL (0.7ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:44:35.407529"], ["updated_at", "2015-06-17 14:44:35.407529"]] SQL (1.0ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:44:35.410198"], ["updated_at", "2015-06-17 14:44:35.410198"]] SQL (0.6ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:44:35.414359"], ["updated_at", "2015-06-17 14:44:35.414359"]] SQL (0.7ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 14:44:35.416961"], ["updated_at", "2015-06-17 14:44:35.416961"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 195ms (ActiveRecord: 5.7ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (192.9ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (33.2ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:45:46', '2015-06-17 14:45:46') Fixture Insert (0.6ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:45:46', '2015-06-17 14:45:46', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:45:47', '2015-06-17 14:45:47') Fixture Delete (0.9ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.5ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:45:47', '2015-06-17 14:45:47') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:45:47', '2015-06-17 14:45:47') Fixture Delete (0.8ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (1.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:45:47', '2015-06-17 14:45:47', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:45:47', '2015-06-17 14:45:47', 298486374)  (1.0ms) COMMIT  (3.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.6ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_sidebars" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"content"=>"

a paragraph

"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:45:47.846284"], ["updated_at", "2015-06-17 14:45:47.846284"]] SQL (1.1ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-17 14:45:47.848896"], ["updated_at", "2015-06-17 14:45:47.848896"]] SQL (0.6ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:45:47.851535"], ["updated_at", "2015-06-17 14:45:47.851535"]] SQL (23.7ms) INSERT INTO "pages_cms_thumbnails" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:45:47.854230"], ["updated_at", "2015-06-17 14:45:47.854230"]] SQL (0.6ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:45:47.879986"], ["updated_at", "2015-06-17 14:45:47.879986"]] SQL (0.6ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:45:47.882211"], ["updated_at", "2015-06-17 14:45:47.882211"]] SQL (0.9ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 14:45:47.884704"], ["updated_at", "2015-06-17 14:45:47.884704"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 551ms (ActiveRecord: 31.5ms)  (0.6ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.4ms) ROLLBACK  (0.4ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.4ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.8ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (26.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (40.5ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (4.5ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (5.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (142.4ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (6.8ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.5ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (2.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (31.3ms) PagesCms::Slider Load (0.4ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (11.1ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (17.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (778.5ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (20.5ms) Completed 200 OK in 1211ms (Views: 1191.6ms | ActiveRecord: 13.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (33.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.0ms) Completed 200 OK in 62ms (Views: 56.1ms | ActiveRecord: 3.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (1.0ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.7ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:46:10', '2015-06-17 14:46:10') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:46:10', '2015-06-17 14:46:10', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:10', '2015-06-17 14:46:10', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:10', '2015-06-17 14:46:10', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:46:10', '2015-06-17 14:46:10', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:46:10', '2015-06-17 14:46:10', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:46:10', '2015-06-17 14:46:10') Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:46:10', '2015-06-17 14:46:10', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:46:10', '2015-06-17 14:46:10', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:46:11', '2015-06-17 14:46:11') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:46:11', '2015-06-17 14:46:11') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:46:11', '2015-06-17 14:46:11', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:46:11', '2015-06-17 14:46:11', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:11', '2015-06-17 14:46:11', 980190962) Fixture Insert (0.6ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:11', '2015-06-17 14:46:11', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:46:11', '2015-06-17 14:46:11', 980190962) Fixture Insert (0.5ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:11', '2015-06-17 14:46:11', 298486374)  (1.6ms) COMMIT  (2.8ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (1.1ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.8ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.9ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"content"=>"

a paragraph

"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:46:11.647875"], ["updated_at", "2015-06-17 14:46:11.647875"]] SQL (0.7ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-17 14:46:11.650207"], ["updated_at", "2015-06-17 14:46:11.650207"]] SQL (0.5ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:46:11.652265"], ["updated_at", "2015-06-17 14:46:11.652265"]] SQL (0.7ms) INSERT INTO "pages_cms_thumbnails" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:46:11.654226"], ["updated_at", "2015-06-17 14:46:11.654226"]] SQL (0.5ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:46:11.656348"], ["updated_at", "2015-06-17 14:46:11.656348"]] SQL (0.7ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:46:11.659049"], ["updated_at", "2015-06-17 14:46:11.659049"]] SQL (1.0ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 14:46:11.662336"], ["updated_at", "2015-06-17 14:46:11.662336"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 393ms (ActiveRecord: 7.4ms)  (0.6ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (43.0ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.6ms) Completed 200 OK in 599ms (Views: 569.3ms | ActiveRecord: 4.4ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.5ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.3ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (18.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (31.7ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (4.1ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (8.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (124.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (7.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (2.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (40.1ms) PagesCms::Slider Load (0.4ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (13.0ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (7.0ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (446.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.1ms) Completed 200 OK in 478ms (Views: 461.5ms | ActiveRecord: 12.9ms)  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.1ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:46:57', '2015-06-17 14:46:57') Fixture Delete (0.6ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:46:57', '2015-06-17 14:46:57') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:46:57', '2015-06-17 14:46:57', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:46:57', '2015-06-17 14:46:57', 298486374)  (9.3ms) COMMIT  (3.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.9ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.8ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (24.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (263.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (286.6ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (87.0ms) Completed 200 OK in 946ms (Views: 932.1ms | ActiveRecord: 4.6ms)  (0.7ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (9.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.2ms) Completed 200 OK in 35ms (Views: 31.8ms | ActiveRecord: 2.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (2.0ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (14.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (18.1ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.8ms) Completed 200 OK in 41ms (Views: 33.7ms | ActiveRecord: 6.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.7ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.5ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434552418_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-17 14:46:58.425273"], ["updated_at", "2015-06-17 14:46:58.425273"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 8ms (ActiveRecord: 1.2ms)  (0.5ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (40.8ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (9.4ms) Completed 200 OK in 74ms (Views: 70.9ms | ActiveRecord: 2.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Slider Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.6ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.4ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (75.1ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (111.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 225ms (Views: 131.2ms | ActiveRecord: 6.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (85.2ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.0ms) Completed 200 OK in 157ms (Views: 153.0ms | ActiveRecord: 3.6ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.5ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.5ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (1.1ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (8.8ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (12.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (23.3ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (5.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (241.6ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (6.8ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (4.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (1.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (30.2ms) PagesCms::Slider Load (0.5ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (1.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (15.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (9.7ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.8ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (547.7ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (10.1ms) Completed 200 OK in 583ms (Views: 564.2ms | ActiveRecord: 16.5ms)  (0.4ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.6ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"content"=>"

a paragraph

"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.9ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.5ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:46:59.933959"], ["updated_at", "2015-06-17 14:46:59.933959"]] SQL (1.4ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-17 14:46:59.937713"], ["updated_at", "2015-06-17 14:46:59.937713"]] SQL (1.2ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:46:59.947368"], ["updated_at", "2015-06-17 14:46:59.947368"]] SQL (1.3ms) INSERT INTO "pages_cms_thumbnails" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:46:59.952259"], ["updated_at", "2015-06-17 14:46:59.952259"]] SQL (1.5ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:46:59.957014"], ["updated_at", "2015-06-17 14:46:59.957014"]] SQL (1.7ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:46:59.969874"], ["updated_at", "2015-06-17 14:46:59.969874"]] SQL (1.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 14:46:59.976607"], ["updated_at", "2015-06-17 14:46:59.976607"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 387ms (ActiveRecord: 10.2ms)  (0.5ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.7ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.7ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.7ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.7ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (1.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.5ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.5ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 14:47:00.037203"], ["updated_at", "2015-06-17 14:47:00.037203"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (25.6ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.2ms) Completed 200 OK in 53ms (Views: 50.6ms | ActiveRecord: 2.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (3.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.1ms) Completed 200 OK in 30ms (Views: 26.9ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.7ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.4ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:48:28', '2015-06-17 14:48:28') Fixture Delete (0.6ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28') Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:48:28', '2015-06-17 14:48:28') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (15.9ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 298486374) Fixture Delete (0.9ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:48:28', '2015-06-17 14:48:28', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:48:28', '2015-06-17 14:48:28', 298486374)  (1.1ms) COMMIT  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (1.5ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-17 14:48:28.859862"], ["updated_at", "2015-06-17 14:48:28.859862"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 35ms (ActiveRecord: 2.2ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.7ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.8ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (24.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (211.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (231.2ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (62.9ms) Completed 200 OK in 827ms (Views: 819.1ms | ActiveRecord: 4.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (10.5ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.3ms) Completed 200 OK in 25ms (Views: 22.7ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (9.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (11.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.0ms) Completed 200 OK in 36ms (Views: 32.0ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"  (80.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.8ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31') Fixture Insert (0.2ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_images" Fixture Insert (0.5ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:49:31', '2015-06-17 14:49:31') Fixture Delete (0.6ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31') Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:49:31', '2015-06-17 14:49:31') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:49:31', '2015-06-17 14:49:31', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:49:31', '2015-06-17 14:49:31', 298486374)  (29.7ms) COMMIT  (75.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (258.5ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (10.4ms) Completed 200 OK in 2225ms (Views: 2172.7ms | ActiveRecord: 4.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.9ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.9ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (19.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (41.9ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (6.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (4.2ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (4.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (717.8ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (6.4ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.8ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (3.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (31.4ms) PagesCms::Slider Load (0.5ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (6.8ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.1ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.7ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (2573.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (9.0ms) Completed 200 OK in 2621ms (Views: 2571.5ms | ActiveRecord: 16.2ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"content"=>"

a paragraph

"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.5ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:49:37.530630"], ["updated_at", "2015-06-17 14:49:37.530630"]] SQL (0.8ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-17 14:49:37.534335"], ["updated_at", "2015-06-17 14:49:37.534335"]] SQL (0.6ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:49:37.537231"], ["updated_at", "2015-06-17 14:49:37.537231"]] SQL (0.7ms) INSERT INTO "pages_cms_thumbnails" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:49:37.539835"], ["updated_at", "2015-06-17 14:49:37.539835"]] SQL (0.6ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:49:37.542421"], ["updated_at", "2015-06-17 14:49:37.542421"]] SQL (0.6ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:49:37.544749"], ["updated_at", "2015-06-17 14:49:37.544749"]] SQL (0.6ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 14:49:37.547381"], ["updated_at", "2015-06-17 14:49:37.547381"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 321ms (ActiveRecord: 5.9ms)  (0.6ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.9ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.9ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.7ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.4ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434552577_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-17 14:49:37.617940"], ["updated_at", "2015-06-17 14:49:37.617940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 31ms (ActiveRecord: 0.7ms)  (0.5ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (42.9ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.2ms) Completed 200 OK in 215ms (Views: 212.5ms | ActiveRecord: 2.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.6ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-17 14:49:37.923914"], ["updated_at", "2015-06-17 14:49:37.923914"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 13ms (ActiveRecord: 0.7ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (15.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.0ms) Completed 200 OK in 42ms (Views: 40.2ms | ActiveRecord: 1.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (1.1ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (11.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (25.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (68.3ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.6ms) Completed 200 OK in 101ms (Views: 94.1ms | ActiveRecord: 4.6ms)  (0.3ms) ROLLBACK  (0.3ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (7.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (12.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (15.5ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.8ms) Completed 200 OK in 29ms (Views: 25.6ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.3ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 14:49:38.126042"], ["updated_at", "2015-06-17 14:49:38.126042"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (2.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (38.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.7ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:50:03', '2015-06-17 14:50:03') Fixture Delete (0.5ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:50:03', '2015-06-17 14:50:03') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:50:03', '2015-06-17 14:50:03', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:50:03', '2015-06-17 14:50:03', 298486374)  (1.0ms) COMMIT  (2.4ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434552603_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-17 14:50:03.625859"], ["updated_at", "2015-06-17 14:50:03.625859"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 100ms (ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (199.6ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (120.7ms) Completed 200 OK in 670ms (Views: 667.4ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (17.3ms) PagesCms::Page Load (1.1ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (9.0ms) Completed 200 OK in 44ms (Views: 40.4ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (12.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (79.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (101.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.5ms) Completed 200 OK in 129ms (Views: 124.0ms | ActiveRecord: 4.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (8.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (10.9ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (1.0ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (9.8ms) Completed 200 OK in 51ms (Views: 46.1ms | ActiveRecord: 4.4ms)  (0.6ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.7ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-17 14:50:04.567591"], ["updated_at", "2015-06-17 14:50:04.567591"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.7ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.8ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (1.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"content"=>"

a paragraph

"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:50:04.919329"], ["updated_at", "2015-06-17 14:50:04.919329"]] SQL (1.0ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-17 14:50:04.922470"], ["updated_at", "2015-06-17 14:50:04.922470"]] SQL (0.8ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:50:04.927299"], ["updated_at", "2015-06-17 14:50:04.927299"]] SQL (0.7ms) INSERT INTO "pages_cms_thumbnails" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:50:04.931033"], ["updated_at", "2015-06-17 14:50:04.931033"]] SQL (0.7ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:50:04.934853"], ["updated_at", "2015-06-17 14:50:04.934853"]] SQL (0.9ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:50:04.938151"], ["updated_at", "2015-06-17 14:50:04.938151"]] SQL (0.9ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 14:50:04.943472"], ["updated_at", "2015-06-17 14:50:04.943472"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 277ms (ActiveRecord: 8.3ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.8ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.7ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.7ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.7ms) ROLLBACK  (1.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.5ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.5ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.5ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (8.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (11.2ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (10.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (4.4ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (7.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (123.1ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (9.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (10.1ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (7.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.6ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (2.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (46.9ms) PagesCms::Slider Load (0.5ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (12.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.3ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (395.6ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (2.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (12.4ms) Completed 200 OK in 423ms (Views: 401.5ms | ActiveRecord: 16.5ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (38.2ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.4ms) Completed 200 OK in 64ms (Views: 59.1ms | ActiveRecord: 4.1ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 14:50:05.472764"], ["updated_at", "2015-06-17 14:50:05.472764"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:51:18', '2015-06-17 14:51:18') Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:51:18', '2015-06-17 14:51:18') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 298486374) Fixture Delete (1.0ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.6ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (1.0ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:51:18', '2015-06-17 14:51:18', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:51:18', '2015-06-17 14:51:18', 298486374)  (0.9ms) COMMIT  (3.2ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.7ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434552678_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-17 14:51:18.862746"], ["updated_at", "2015-06-17 14:51:18.862746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 100ms (ActiveRecord: 0.9ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (186.6ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (95.6ms) Completed 200 OK in 634ms (Views: 631.6ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (21.0ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.0ms) Completed 200 OK in 44ms (Views: 41.0ms | ActiveRecord: 2.2ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (16.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (100.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (123.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.0ms) Completed 200 OK in 149ms (Views: 143.3ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (29.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (34.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (36.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.3ms) Completed 200 OK in 46ms (Views: 43.3ms | ActiveRecord: 2.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-17 14:51:19.782570"], ["updated_at", "2015-06-17 14:51:19.782570"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (1.0ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.2ms) ROLLBACK  (0.8ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (52.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 68ms (Views: 66.3ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (3.2ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.0ms) Completed 200 OK in 30ms (Views: 26.8ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.3ms) ROLLBACK  (0.5ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.3ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 14:51:20.093024"], ["updated_at", "2015-06-17 14:51:20.093024"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Slider Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.6ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.4ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (32.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (47.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.1ms) Completed 200 OK in 106ms (Views: 62.7ms | ActiveRecord: 6.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"content"=>"

a paragraph

"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.3ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:51:20.316450"], ["updated_at", "2015-06-17 14:51:20.316450"]] SQL (0.7ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 4], ["created_at", "2015-06-17 14:51:20.318565"], ["updated_at", "2015-06-17 14:51:20.318565"]] SQL (0.6ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:51:20.321087"], ["updated_at", "2015-06-17 14:51:20.321087"]] SQL (0.8ms) INSERT INTO "pages_cms_thumbnails" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:51:20.323578"], ["updated_at", "2015-06-17 14:51:20.323578"]] SQL (0.7ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:51:20.326235"], ["updated_at", "2015-06-17 14:51:20.326235"]] SQL (0.6ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 14:51:20.328765"], ["updated_at", "2015-06-17 14:51:20.328765"]] SQL (0.6ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 4], ["created_at", "2015-06-17 14:51:20.331755"], ["updated_at", "2015-06-17 14:51:20.331755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/4/edit Completed 302 Found in 56ms (ActiveRecord: 6.0ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.3ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (9.7ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (4.0ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (5.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (90.3ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (4.5ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.3ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (1.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (20.5ms) PagesCms::Slider Load (0.3ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (5.5ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.5ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.8ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (315.7ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.3ms) Completed 200 OK in 332ms (Views: 317.6ms | ActiveRecord: 12.0ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (15.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.3ms) Completed 200 OK in 39ms (Views: 35.6ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"  (55.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (15.2ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 14:58:40', '2015-06-17 14:58:40') Fixture Delete (0.6ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.5ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 14:58:40', '2015-06-17 14:58:40') Fixture Delete (0.4ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 14:58:40', '2015-06-17 14:58:40', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 14:58:40', '2015-06-17 14:58:40', 298486374)  (1.5ms) COMMIT  (3.6ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.6ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434553121_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-17 14:58:41.202690"], ["updated_at", "2015-06-17 14:58:41.202690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 98ms (ActiveRecord: 0.9ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.8ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (233.8ms) PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (105.9ms) Completed 200 OK in 1019ms (Views: 1015.7ms | ActiveRecord: 2.9ms)  (1.8ms) ROLLBACK  (0.3ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (1.0ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (2.5ms) ROLLBACK  (0.9ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (43.4ms) PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (9.4ms) Completed 200 OK in 73ms (Views: 69.5ms | ActiveRecord: 3.5ms)  (0.4ms) ROLLBACK  (0.3ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (2.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.4ms) Completed 200 OK in 30ms (Views: 27.5ms | ActiveRecord: 1.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 14:58:42.641003"], ["updated_at", "2015-06-17 14:58:42.641003"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Slider Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.6ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (1.0ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (3.9ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.7ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.5ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (48.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (60.4ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.4ms) Completed 200 OK in 116ms (Views: 77.0ms | ActiveRecord: 11.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.7ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"content"=>"

a paragraph

"}}}}}} Unpermitted parameter: 0  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 14:58:42.893967"], ["updated_at", "2015-06-17 14:58:42.893967"]] SQL (1.1ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 4], ["created_at", "2015-06-17 14:58:42.897786"], ["updated_at", "2015-06-17 14:58:42.897786"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/4/edit Completed 302 Found in 19ms (ActiveRecord: 2.6ms)  (0.9ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.3ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (23.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (45.8ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (6.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (4.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (6.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (158.9ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (8.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (10.1ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.8ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (1.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (33.1ms) PagesCms::Slider Load (0.3ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (7.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (18.4ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (467.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.3ms) Completed 200 OK in 484ms (Views: 468.4ms | ActiveRecord: 12.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (16.7ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.9ms) Completed 200 OK in 45ms (Views: 41.4ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (3.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (11.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (16.7ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.6ms) Completed 200 OK in 41ms (Views: 37.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.8ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.7ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (14.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (57.7ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.2ms) Completed 200 OK in 74ms (Views: 68.7ms | ActiveRecord: 4.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-17 14:58:43.607994"], ["updated_at", "2015-06-17 14:58:43.607994"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.7ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.6ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.8ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (28.3ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.2ms) Completed 200 OK in 51ms (Views: 48.2ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (58.5ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (0.9ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.7ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (33.1ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 15:00:34', '2015-06-17 15:00:34') Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 15:00:34', '2015-06-17 15:00:34') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 298486374) Fixture Delete (0.9ms) DELETE FROM "pages_cms_sliders" Fixture Insert (1.7ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 15:00:34', '2015-06-17 15:00:34', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:00:34', '2015-06-17 15:00:34', 298486374)  (1.0ms) COMMIT  (2.7ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"content"=>"

a paragraph

"}}}}}} Unpermitted parameter: 0  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 15:00:35.028459"], ["updated_at", "2015-06-17 15:00:35.028459"]] SQL (0.8ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 15:00:35.030757"], ["updated_at", "2015-06-17 15:00:35.030757"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 349ms (ActiveRecord: 2.8ms)  (0.8ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.3ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (19.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (40.5ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (7.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (4.3ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (4.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (116.1ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (6.4ms) PagesCms::Image Load (0.7ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.7ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (1.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (26.2ms) PagesCms::Slider Load (0.4ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (8.1ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (8.4ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (658.7ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (10.9ms) Completed 200 OK in 1369ms (Views: 1350.1ms | ActiveRecord: 13.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (32.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.9ms) Completed 200 OK in 64ms (Views: 60.4ms | ActiveRecord: 3.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.3ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 15:00:36.496900"], ["updated_at", "2015-06-17 15:00:36.496900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (1.7ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434553236_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-17 15:00:36.559319"], ["updated_at", "2015-06-17 15:00:36.559319"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 8ms (ActiveRecord: 0.7ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (44.2ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.9ms) Completed 200 OK in 77ms (Views: 74.5ms | ActiveRecord: 2.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (16.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (24.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.8ms) Completed 200 OK in 67ms (Views: 49.7ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (10.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.5ms) Completed 200 OK in 22ms (Views: 19.8ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (10.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (14.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.5ms) Completed 200 OK in 27ms (Views: 22.8ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-17 15:00:36.808872"], ["updated_at", "2015-06-17 15:00:36.808872"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Slider Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.5ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (11.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (22.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (1.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.4ms) Completed 200 OK in 45ms (Views: 31.3ms | ActiveRecord: 7.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (3.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (1.9ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.9ms) Completed 200 OK in 34ms (Views: 28.5ms | ActiveRecord: 4.9ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (15.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.4ms) Completed 200 OK in 30ms (Views: 28.2ms | ActiveRecord: 1.5ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (8.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (6.0ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (13.7ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (12.9ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 15:03:19', '2015-06-17 15:03:19') Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 298486374) Fixture Delete (0.9ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19') Fixture Insert (0.6ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 15:03:19', '2015-06-17 15:03:19') Fixture Delete (0.7ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_sliders" Fixture Insert (1.4ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 15:03:19', '2015-06-17 15:03:19', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:03:19', '2015-06-17 15:03:19', 298486374)  (1.2ms) COMMIT  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.1ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (161.4ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.8ms) Completed 200 OK in 857ms (Views: 794.5ms | ActiveRecord: 4.5ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (1.1ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.7ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.5ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.5ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.8ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (16.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (30.9ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (16.2ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (4.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (226.7ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (7.1ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.5ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (2.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (31.0ms) PagesCms::Slider Load (0.5ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (7.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.5ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (743.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.6ms) Completed 200 OK in 791ms (Views: 740.8ms | ActiveRecord: 17.1ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"content"=>"something", "image_id"=>"1", "link"=>"/thing"}}}}}} Unpermitted parameter: 0  (0.3ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.5ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 15:03:21.533428"], ["updated_at", "2015-06-17 15:03:21.533428"]] SQL (1.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 15:03:21.537153"], ["updated_at", "2015-06-17 15:03:21.537153"]]  (0.3ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 218ms (ActiveRecord: 3.5ms)  (0.6ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (17.8ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.5ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.8ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 15:07:00', '2015-06-17 15:07:00') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 15:07:00', '2015-06-17 15:07:00', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:07:00', '2015-06-17 15:07:00', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:07:00', '2015-06-17 15:07:00', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.6ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:07:01', '2015-06-17 15:07:01', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:07:01', '2015-06-17 15:07:01', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 15:07:01', '2015-06-17 15:07:01') Fixture Delete (0.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 15:07:01', '2015-06-17 15:07:01', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 15:07:01', '2015-06-17 15:07:01', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 15:07:01', '2015-06-17 15:07:01') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 15:07:01', '2015-06-17 15:07:01') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 15:07:01', '2015-06-17 15:07:01', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 15:07:01', '2015-06-17 15:07:01', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:07:01', '2015-06-17 15:07:01', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:07:01', '2015-06-17 15:07:01', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 15:07:01', '2015-06-17 15:07:01', 980190962) Fixture Insert (0.6ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:07:01', '2015-06-17 15:07:01', 298486374)  (1.3ms) COMMIT  (3.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (1.1ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (1.0ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (99.2ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (8.4ms) Completed 200 OK in 715ms (Views: 688.8ms | ActiveRecord: 5.4ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.5ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.7ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (14.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (18.9ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (5.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (3.6ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (3.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (133.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (5.1ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (1.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (20.9ms) PagesCms::Slider Load (0.4ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (5.8ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.7ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (494.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.4ms) Completed 200 OK in 564ms (Views: 502.3ms | ActiveRecord: 14.8ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"image_id"=>"1", "link"=>"/thing"}}}}}} Unpermitted parameter: 0  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.8ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.6ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 15:07:02.793166"], ["updated_at", "2015-06-17 15:07:02.793166"]] SQL (2.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 15:07:02.796871"], ["updated_at", "2015-06-17 15:07:02.796871"]]  (0.5ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 234ms (ActiveRecord: 5.4ms)  (0.5ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"  (42.4ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.3ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.5ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 298486374) Fixture Delete (0.4ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 298486374) Fixture Delete (0.9ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.6ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_images" Fixture Insert (31.5ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 15:14:21', '2015-06-17 15:14:21') Fixture Delete (0.8ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 15:14:21', '2015-06-17 15:14:21') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 298486374) Fixture Delete (1.2ms) DELETE FROM "pages_cms_sliders" Fixture Insert (1.5ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 298486374) Fixture Delete (0.5ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.5ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 15:14:21', '2015-06-17 15:14:21', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:14:21', '2015-06-17 15:14:21', 298486374)  (1.4ms) COMMIT  (4.2ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434554062_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-17 15:14:22.018465"], ["updated_at", "2015-06-17 15:14:22.018465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 99ms (ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (202.2ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (98.1ms) Completed 200 OK in 1407ms (Views: 1404.3ms | ActiveRecord: 2.3ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.6ms) ROLLBACK  (0.2ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.7ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Slider Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (1.0ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.5ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.4ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (25.3ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (31.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.3ms) Completed 200 OK in 89ms (Views: 62.0ms | ActiveRecord: 7.7ms)  (0.3ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 15:14:23.753460"], ["updated_at", "2015-06-17 15:14:23.753460"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (32.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.5ms) Completed 200 OK in 60ms (Views: 55.3ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.4ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.5ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (26.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (30.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (7.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (4.5ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (5.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (144.9ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (7.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (8.1ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (2.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (33.4ms) PagesCms::Slider Load (0.4ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (7.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (7.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.6ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (416.9ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.2ms) Completed 200 OK in 444ms (Views: 428.1ms | ActiveRecord: 13.5ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.6ms) SELECT COUNT(*) FROM "pages_cms_pages"  (1.0ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"image_id"=>"1", "link"=>"/thing"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 15:14:24.323943"], ["updated_at", "2015-06-17 15:14:24.323943"]] SQL (1.0ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 4], ["created_at", "2015-06-17 15:14:24.328478"], ["updated_at", "2015-06-17 15:14:24.328478"]] SQL (0.7ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 15:14:24.331190"], ["updated_at", "2015-06-17 15:14:24.331190"]] SQL (1.0ms) INSERT INTO "pages_cms_thumbnails" ("image_id", "link", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["image_id", 1], ["link", "/thing"], ["page_block_id", 980190963], ["created_at", "2015-06-17 15:14:24.334359"], ["updated_at", "2015-06-17 15:14:24.334359"]] SQL (0.6ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 15:14:24.337420"], ["updated_at", "2015-06-17 15:14:24.337420"]] SQL (0.7ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 15:14:24.341208"], ["updated_at", "2015-06-17 15:14:24.341208"]] SQL (0.7ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 4], ["created_at", "2015-06-17 15:14:24.344509"], ["updated_at", "2015-06-17 15:14:24.344509"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/4/edit Completed 302 Found in 34ms (ActiveRecord: 6.0ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.2ms) ROLLBACK  (0.4ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.3ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.7ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (2.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.3ms) Completed 200 OK in 22ms (Views: 19.0ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (15.4ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.2ms) Completed 200 OK in 34ms (Views: 31.8ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-17 15:14:24.501980"], ["updated_at", "2015-06-17 15:14:24.501980"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 4ms (ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (6.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (16.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (24.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.9ms) Completed 200 OK in 47ms (Views: 43.2ms | ActiveRecord: 3.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (10.2ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.3ms) Completed 200 OK in 21ms (Views: 18.8ms | ActiveRecord: 2.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (9.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (12.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.4ms) Completed 200 OK in 24ms (Views: 20.5ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (2.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (48.9ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (21.4ms) DELETE FROM "pages_cms_articles" Fixture Insert (1.0ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 298486374) Fixture Delete (16.4ms) DELETE FROM "pages_cms_images" Fixture Insert (0.6ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-17 15:49:17', '2015-06-17 15:49:17') Fixture Delete (0.7ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.5ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 298486374) Fixture Delete (2.0ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.4ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-17 15:49:17', '2015-06-17 15:49:17') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-17 15:49:17', '2015-06-17 15:49:17', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-17 15:49:17', '2015-06-17 15:49:17', 298486374)  (1.4ms) COMMIT  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (17.0ms) PagesCms::Page Load (1.1ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (162.5ms) Completed 200 OK in 4215ms (Views: 4211.7ms | ActiveRecord: 3.3ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.8ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (11.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (120.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (142.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.6ms) Completed 200 OK in 161ms (Views: 156.0ms | ActiveRecord: 3.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-17 15:49:22.479575"], ["updated_at", "2015-06-17 15:49:22.479575"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 6ms (ActiveRecord: 0.9ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (9.8ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (12.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 23ms (Views: 19.2ms | ActiveRecord: 3.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434556162_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-17 15:49:22.590482"], ["updated_at", "2015-06-17 15:49:22.590482"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 16ms (ActiveRecord: 0.6ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (11.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 31ms (Views: 29.5ms | ActiveRecord: 1.7ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (34.5ms) PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.6ms) Completed 200 OK in 65ms (Views: 62.8ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.4ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (2.3ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.4ms) Completed 200 OK in 30ms (Views: 27.5ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (20.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.5ms) Completed 200 OK in 46ms (Views: 42.3ms | ActiveRecord: 2.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.5ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (1.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (8.7ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (4.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (5.2ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (4.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (134.8ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (5.5ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (2.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (25.2ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (5.8ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) PagesCms::Slider Load (0.4ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (9.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (749.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.4ms) Completed 200 OK in 800ms (Views: 764.9ms | ActiveRecord: 15.2ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.7ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"image_id"=>"1", "link"=>"/thing"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-17 15:49:23.824061"], ["updated_at", "2015-06-17 15:49:23.824061"]] SQL (0.7ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-17 15:49:23.826375"], ["updated_at", "2015-06-17 15:49:23.826375"]] SQL (0.5ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 15:49:23.828582"], ["updated_at", "2015-06-17 15:49:23.828582"]] SQL (0.9ms) INSERT INTO "pages_cms_thumbnails" ("image_id", "link", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["image_id", 1], ["link", "/thing"], ["page_block_id", 980190963], ["created_at", "2015-06-17 15:49:23.830688"], ["updated_at", "2015-06-17 15:49:23.830688"]] SQL (0.6ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-17 15:49:23.833233"], ["updated_at", "2015-06-17 15:49:23.833233"]] SQL (0.7ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-17 15:49:23.835162"], ["updated_at", "2015-06-17 15:49:23.835162"]] SQL (0.6ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-17 15:49:23.847252"], ["updated_at", "2015-06-17 15:49:23.847252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 192ms (ActiveRecord: 5.8ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.3ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-17 15:49:23.866187"], ["updated_at", "2015-06-17 15:49:23.866187"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.3ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Slider Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.3ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.3ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (10.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (19.5ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.7ms) Completed 200 OK in 69ms (Views: 59.5ms | ActiveRecord: 4.1ms)  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (7.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (130.6ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.4ms) BEGIN Fixture Delete (20.7ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.8ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38') Fixture Insert (0.3ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.4ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 298486374) Fixture Delete (16.5ms) DELETE FROM "pages_cms_images" Fixture Insert (0.3ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-18 05:08:38', '2015-06-18 05:08:38') Fixture Delete (18.4ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 298486374) Fixture Delete (1.5ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.6ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38') Fixture Insert (0.2ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-18 05:08:38', '2015-06-18 05:08:38') Fixture Delete (0.6ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_sliders" Fixture Insert (0.3ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 298486374) Fixture Delete (0.6ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-18 05:08:38', '2015-06-18 05:08:38', 980190962) Fixture Insert (0.2ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:08:38', '2015-06-18 05:08:38', 298486374)  (1.4ms) COMMIT  (2.5ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.2ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) ROLLBACK  (0.2ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (11.0ms) SAVEPOINT active_record_1 PagesCms::Page Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-18 05:08:39.016103"], ["updated_at", "2015-06-18 05:08:39.016103"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.6ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.9ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE (archived != true AND draft != true) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (5.2ms) PagesCms::Page Load (0.7ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (66.9ms) Completed 200 OK in 3988ms (Views: 3984.6ms | ActiveRecord: 2.6ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (3.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.4ms) Completed 200 OK in 24ms (Views: 20.8ms | ActiveRecord: 1.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Slider Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (1.1ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.5ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.4ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.3ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (37.8ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (56.2ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.5ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.8ms) Completed 200 OK in 98ms (Views: 71.2ms | ActiveRecord: 8.0ms)  (0.3ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.9ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (13.1ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (343.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (365.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.3ms) Completed 200 OK in 385ms (Views: 381.8ms | ActiveRecord: 2.8ms)  (0.4ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (10.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (13.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.2ms) Completed 200 OK in 380ms (Views: 376.8ms | ActiveRecord: 3.0ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.6ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (15.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 80ms (Views: 77.8ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-18 05:08:44.252865"], ["updated_at", "2015-06-18 05:08:44.252865"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 5ms (ActiveRecord: 0.9ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.7ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434604124_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-18 05:08:44.443187"], ["updated_at", "2015-06-18 05:08:44.443187"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 6ms (ActiveRecord: 0.7ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (0.6ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (33.0ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.1ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.4ms) Completed 200 OK in 190ms (Views: 188.1ms | ActiveRecord: 1.9ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (32.7ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (3.7ms) Completed 200 OK in 58ms (Views: 54.5ms | ActiveRecord: 2.5ms)  (0.1ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.5ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.2ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.2ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.3ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (7.3ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (6.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (19.9ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (3.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (107.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.2ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (4.6ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (3.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.6ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (2.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (23.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.3ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.7ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) PagesCms::Slider Load (0.5ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (6.5ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (309.6ms) PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.0ms) Completed 200 OK in 339ms (Views: 324.2ms | ActiveRecord: 12.9ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.6ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (1.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.5ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"image_id"=>"1", "link"=>"/thing"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-18 05:08:45.091611"], ["updated_at", "2015-06-18 05:08:45.091611"]] SQL (0.8ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 4], ["created_at", "2015-06-18 05:08:45.093700"], ["updated_at", "2015-06-18 05:08:45.093700"]] SQL (0.6ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-18 05:08:45.097198"], ["updated_at", "2015-06-18 05:08:45.097198"]] SQL (1.1ms) INSERT INTO "pages_cms_thumbnails" ("image_id", "link", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["image_id", 1], ["link", "/thing"], ["page_block_id", 980190963], ["created_at", "2015-06-18 05:08:45.102484"], ["updated_at", "2015-06-18 05:08:45.102484"]] SQL (0.6ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-18 05:08:45.106124"], ["updated_at", "2015-06-18 05:08:45.106124"]] SQL (0.6ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-18 05:08:45.108226"], ["updated_at", "2015-06-18 05:08:45.108226"]] SQL (0.6ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 4], ["created_at", "2015-06-18 05:08:45.110420"], ["updated_at", "2015-06-18 05:08:45.110420"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/4/edit Completed 302 Found in 31ms (ActiveRecord: 5.4ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.2ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"  (44.3ms) ALTER TABLE "pages_cms_pages" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" DISABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.6ms) DELETE FROM "pages_cms_articles" Fixture Insert (0.6ms) INSERT INTO "pages_cms_articles" ("id", "content", "title", "image_id", "created_at", "updated_at") VALUES (1, 'MyText', 'MyString', NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34') Fixture Insert (0.4ms) INSERT INTO "pages_cms_articles" ("content", "title", "image_id", "created_at", "updated_at", "id") VALUES ('MyText', 'MyString', NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 298486374) Fixture Delete (0.8ms) DELETE FROM "pages_cms_blog_feeds" Fixture Insert (0.5ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_blog_feeds" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 298486374) Fixture Delete (1.7ms) DELETE FROM "pages_cms_image_boxes" Fixture Insert (0.6ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_image_boxes" ("page_block_id", "image_id", "created_at", "updated_at", "id") VALUES (NULL, NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_images" Fixture Insert (28.8ms) INSERT INTO "pages_cms_images" ("id", "file", "created_at", "updated_at") VALUES (1, 'MyString.jpg', '2015-06-18 05:11:34', '2015-06-18 05:11:34') Fixture Delete (1.2ms) DELETE FROM "pages_cms_page_blocks" Fixture Insert (0.8ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (1, 'MyText', 1, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 980190962) Fixture Insert (0.4ms) INSERT INTO "pages_cms_page_blocks" ("page_id", "name", "order", "created_at", "updated_at", "id") VALUES (NULL, 'MyText', 2, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_pages" Fixture Insert (0.5ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (1, 'MyString', 'string', 'MyString', 'MyString', NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34') Fixture Insert (0.3ms) INSERT INTO "pages_cms_pages" ("id", "title", "slug", "meta_tags", "meta_description", "parent_id", "created_at", "updated_at") VALUES (2, 'MyString', 'MyString', 'MyString', 'MyString', 1, '2015-06-18 05:11:34', '2015-06-18 05:11:34') Fixture Delete (0.5ms) DELETE FROM "pages_cms_sidebars" Fixture Insert (0.4ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 1, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at", "id") VALUES ('MyText', 2, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 298486374) Fixture Delete (1.2ms) DELETE FROM "pages_cms_sliders" Fixture Insert (1.6ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 980190962) Fixture Insert (0.5ms) INSERT INTO "pages_cms_sliders" ("page_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 298486374) Fixture Delete (0.7ms) DELETE FROM "pages_cms_text_boxes" Fixture Insert (0.4ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "content", "created_at", "updated_at", "id") VALUES (1, '

hello

', '2015-06-18 05:11:34', '2015-06-18 05:11:34', 980190962) Fixture Insert (0.3ms) INSERT INTO "pages_cms_text_boxes" ("page_block_id", "created_at", "updated_at", "id") VALUES (NULL, '2015-06-18 05:11:34', '2015-06-18 05:11:34', 298486374)  (1.9ms) COMMIT  (4.0ms) ALTER TABLE "pages_cms_pages" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_page_blocks" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_thumbnails" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_articles" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_blog_feeds" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_image_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sliders" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_sidebars" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_text_boxes" ENABLE TRIGGER ALL;ALTER TABLE "pages_cms_images" ENABLE TRIGGER ALL  (0.3ms) BEGIN -------------------------------------------------------- PagesCms::Admin::ImagesControllerTest: test_image_upload --------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_images" Processing by PagesCms::Admin::ImagesController#create as HTML Parameters: {"image"=>{"file"=>#>, "name"=>"test_name"}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_images" ("file", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["file", "/images/1434604294_test_name.png"], ["name", "test_name"], ["created_at", "2015-06-18 05:11:34.674316"], ["updated_at", "2015-06-18 05:11:34.674316"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/images Completed 302 Found in 103ms (ActiveRecord: 1.0ms)  (0.5ms) SELECT COUNT(*) FROM "pages_cms_images"  (0.4ms) ROLLBACK  (0.2ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ImagesControllerTest: test_should_get_index ------------------------------------------------------------ Processing by PagesCms::Admin::ImagesController#index as HTML PagesCms::Image Load (1.8ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/images/index.html.haml within layouts/pages_cms/application (408.7ms) PagesCms::Page Load (0.8ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (105.5ms) Completed 200 OK in 953ms (Views: 948.9ms | ActiveRecord: 3.6ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_articles_home -------------------------------------------------------- Processing by PagesCms::ArticlesController#index as HTML PagesCms::Article Load (0.8ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE (archived != true AND draft != true) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/index.html.erb within layouts/pages_cms/application (3.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (7.1ms) Completed 200 OK in 17ms (Views: 14.2ms | ActiveRecord: 2.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::ArticlesControllerTest: test_get_individual_article ------------------------------------------------------------- PagesCms::Article Load (0.3ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::ArticlesController#show as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/articles/show.html.haml within layouts/pages_cms/application (3.2ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.6ms) Completed 200 OK in 23ms (Views: 20.2ms | ActiveRecord: 1.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------------------- PagesCms::PagesControllerTest: test_should_get_show --------------------------------------------------- PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::PagesController#show as HTML Parameters: {"slug"=>"string"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = $1 LIMIT 1 [["slug", "string"]] PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Slider Exists (1.1ms) SELECT 1 AS one FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::PageBlock Load (0.5ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::Thumbnail Load (0.7ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.4ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/_main.html.haml (47.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."sidebar_show" = 't' Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/pages/show.html.haml within layouts/pages_cms/application (65.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.5ms) Completed 200 OK in 117ms (Views: 86.7ms | ActiveRecord: 7.5ms)  (0.2ms) ROLLBACK  (0.2ms) BEGIN ------------------------ PagesCmsTest: test_truth ------------------------  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_article_create ------------------------------------------------------------  (0.5ms) SELECT COUNT(*) FROM "pages_cms_articles" Processing by PagesCms::Admin::ArticlesController#create as HTML Parameters: {"article"=>{"title"=>"something", "content"=>"something", "tags"=>"something", "draft"=>true}}  (0.2ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "pages_cms_articles" ("title", "tags", "content", "draft", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "something"], ["tags", "{something}"], ["content", "something"], ["draft", "t"], ["created_at", "2015-06-18 05:11:35.885549"], ["updated_at", "2015-06-18 05:11:35.885549"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/articles Completed 302 Found in 5ms (ActiveRecord: 0.8ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_articles"  (0.1ms) ROLLBACK  (0.1ms) BEGIN -------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_index -------------------------------------------------------------- Processing by PagesCms::Admin::ArticlesController#index as HTML PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/index.html.haml within layouts/pages_cms/application (10.7ms) PagesCms::Page Load (0.9ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (6.2ms) Completed 200 OK in 36ms (Views: 33.0ms | ActiveRecord: 2.1ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------- PagesCms::Admin::ArticlesControllerTest: test_should_get_edit ------------------------------------------------------------- PagesCms::Article Load (0.5ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::ArticlesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Article Load (0.4ms) SELECT "pages_cms_articles".* FROM "pages_cms_articles" WHERE "pages_cms_articles"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (13.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (109.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/edit.html.haml within layouts/pages_cms/application (127.4ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.1ms) Completed 200 OK in 150ms (Views: 146.8ms | ActiveRecord: 2.8ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------------------ PagesCms::Admin::ArticlesControllerTest: test_should_get_new ------------------------------------------------------------ Processing by PagesCms::Admin::ArticlesController#new as HTML PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.4ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/_form.html.haml (9.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/articles/new.html.haml within layouts/pages_cms/application (12.0ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.2ms) Completed 200 OK in 35ms (Views: 32.2ms | ActiveRecord: 2.2ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN --------------------------------------- PagesCms::ImageTest: test_invalid_image --------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------- PagesCms::ImageTest: test_image_is_valid ---------------------------------------- PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" WHERE "pages_cms_images"."id" = $1 LIMIT 1 [["id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_page_create_test -----------------------------------------------------------  (0.4ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_thumbnails" Processing by PagesCms::Admin::PagesController#create as HTML Parameters: {"page"=>{"title"=>"test page", "meta_tags"=>"tags", "meta_description"=>"some description", "navbar_show"=>true, "sidebar_show"=>true, "draft"=>true, "sidebar_attributes"=>{"content"=>"something", "show"=>true}, "page_blocks_attributes"=>{0=>{"name"=>"something", "div_id"=>"some thing", "blog_feeds_attributes"=>{0=>{"limit"=>"10"}}, "text_boxes_attributes"=>{0=>{"content"=>"

a paragraph

"}}, "image_boxes_attributes"=>{0=>{"heading"=>"

a paragraph

"}}, "thumbnails_attributes"=>{0=>{"image_id"=>"1", "link"=>"/thing"}}}}}}  (0.2ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.4ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'test-page' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "meta_tags", "meta_description", "draft", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["title", "test page"], ["meta_tags", "tags"], ["meta_description", "some description"], ["draft", "t"], ["slug", "test-page"], ["created_at", "2015-06-18 05:11:36.376117"], ["updated_at", "2015-06-18 05:11:36.376117"]] SQL (0.7ms) INSERT INTO "pages_cms_page_blocks" ("name", "div_id", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["name", "something"], ["div_id", "some thing"], ["page_id", 3], ["created_at", "2015-06-18 05:11:36.378328"], ["updated_at", "2015-06-18 05:11:36.378328"]] SQL (0.6ms) INSERT INTO "pages_cms_text_boxes" ("content", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-18 05:11:36.380599"], ["updated_at", "2015-06-18 05:11:36.380599"]] SQL (0.8ms) INSERT INTO "pages_cms_thumbnails" ("image_id", "link", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["image_id", 1], ["link", "/thing"], ["page_block_id", 980190963], ["created_at", "2015-06-18 05:11:36.382899"], ["updated_at", "2015-06-18 05:11:36.382899"]] SQL (0.6ms) INSERT INTO "pages_cms_blog_feeds" ("limit", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["limit", 10], ["page_block_id", 980190963], ["created_at", "2015-06-18 05:11:36.385383"], ["updated_at", "2015-06-18 05:11:36.385383"]] SQL (0.6ms) INSERT INTO "pages_cms_image_boxes" ("heading", "page_block_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["heading", "

a paragraph

"], ["page_block_id", 980190963], ["created_at", "2015-06-18 05:11:36.387481"], ["updated_at", "2015-06-18 05:11:36.387481"]] SQL (0.6ms) INSERT INTO "pages_cms_sidebars" ("content", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["content", "something"], ["page_id", 3], ["created_at", "2015-06-18 05:11:36.389808"], ["updated_at", "2015-06-18 05:11:36.389808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Redirected to http://test.host/admin/pages/3/edit Completed 302 Found in 234ms (ActiveRecord: 6.0ms)  (0.4ms) SELECT COUNT(*) FROM "pages_cms_thumbnails"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_sidebars"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_text_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_image_boxes"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_blog_feeds"  (0.3ms) SELECT COUNT(*) FROM "pages_cms_pages"  (0.3ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_index ----------------------------------------------------------- Processing by PagesCms::Admin::PagesController#index as HTML PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" ORDER BY "pages_cms_pages"."id" DESC LIMIT 1 PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IN (1) PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/index.html.haml within layouts/pages_cms/application (42.3ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.3ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (5.0ms) Completed 200 OK in 73ms (Views: 70.1ms | ActiveRecord: 3.0ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------------------------------------- PagesCms::Admin::PagesControllerTest: test_should_get_edit ---------------------------------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] Processing by PagesCms::Admin::PagesController#edit as HTML Parameters: {"id"=>"1"} PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Sidebar Load (0.4ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" = $1 LIMIT 1 [["page_id", 1]] PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" IS NULL PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."page_id" = $1 ORDER BY "pages_cms_page_blocks"."order" ASC [["page_id", 1]] PagesCms::TextBox Load (0.4ms) SELECT "pages_cms_text_boxes".* FROM "pages_cms_text_boxes" WHERE "pages_cms_text_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::BlogFeed Load (0.4ms) SELECT "pages_cms_blog_feeds".* FROM "pages_cms_blog_feeds" WHERE "pages_cms_blog_feeds"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::ImageBox Load (0.5ms) SELECT "pages_cms_image_boxes".* FROM "pages_cms_image_boxes" WHERE "pages_cms_image_boxes"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Thumbnail Load (0.4ms) SELECT "pages_cms_thumbnails".* FROM "pages_cms_thumbnails" WHERE "pages_cms_thumbnails"."page_block_id" = $1 [["page_block_id", 980190962]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.3ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (6.3ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (4.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (14.3ms) PagesCms::Image Load (0.5ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (3.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (80.7ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.0ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_text_box_fields.html.haml (4.4ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" PagesCms::Page Load (0.3ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_thumbnail_fields.html.haml (2.6ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_blog_feed_fields.html.haml (0.3ms) PagesCms::Image Load (0.4ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_image_box_fields.html.haml (1.7ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_page_block_fields.html.haml (19.6ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_editor.html.haml (4.4ms) PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Sidebar Load (0.5ms) SELECT "pages_cms_sidebars".* FROM "pages_cms_sidebars" WHERE "pages_cms_sidebars"."page_id" IN (1, 2) PagesCms::Slider Load (0.4ms) SELECT "pages_cms_sliders".* FROM "pages_cms_sliders" WHERE "pages_cms_sliders"."page_id" = $1 [["page_id", 1]] PagesCms::Page Load (0.4ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" PagesCms::Image Load (0.3ms) SELECT "pages_cms_images".* FROM "pages_cms_images" Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/_slider_fields.html.haml (5.9ms) Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/pages_cms/admin/pages/edit.html.haml within layouts/pages_cms/application (239.1ms) PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."navbar_show" = 't' PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 1]] PagesCms::Page Load (0.2ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 [["parent_id", 1]] PagesCms::Page Exists (0.2ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."parent_id" = $1 LIMIT 1 [["parent_id", 2]] Rendered /Users/ColinWalker/workspace/cms/PagesCMS/app/views/layouts/pages_cms/_header.html.erb (4.6ms) Completed 200 OK in 264ms (Views: 250.8ms | ActiveRecord: 11.3ms)  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------------------------ PagesCms::PageTest: test_slug_gets_parameterized ------------------------------------------------ PagesCms::Page Load (0.6ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) SAVEPOINT active_record_1 PagesCms::Page Exists (0.9ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE "pages_cms_pages"."slug" = 'really-cool' LIMIT 1 SQL (0.4ms) INSERT INTO "pages_cms_pages" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "really cool"], ["slug", "really-cool"], ["created_at", "2015-06-18 05:11:36.755976"], ["updated_at", "2015-06-18 05:11:36.755976"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (1.0ms) BEGIN ----------------------------------- PagesCms::PageTest: test_valid_page ----------------------------------- PagesCms::Page Load (0.5ms) SELECT "pages_cms_pages".* FROM "pages_cms_pages" WHERE "pages_cms_pages"."id" = $1 LIMIT 1 [["id", 1]] PagesCms::Page Exists (0.7ms) SELECT 1 AS one FROM "pages_cms_pages" WHERE ("pages_cms_pages"."slug" = 'mystring' AND "pages_cms_pages"."id" != 1) LIMIT 1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ----------------------------------------- PagesCms::PageBlockTest: test_valid_block ----------------------------------------- PagesCms::PageBlock Load (0.4ms) SELECT "pages_cms_page_blocks".* FROM "pages_cms_page_blocks" WHERE "pages_cms_page_blocks"."id" = $1 LIMIT 1 [["id", 980190962]]  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"