[1m[36m (1.4ms)[0m [1mCREATE TABLE "comfy_cms_blocks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "identifier" varchar NOT NULL, "content" text(16777215), "blockable_id" integer, "blockable_type" varchar, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.1ms)[0m select sqlite_version(*) [1m[36m (1.0ms)[0m [1mCREATE INDEX "index_comfy_cms_blocks_on_blockable_id_and_blockable_type" ON "comfy_cms_blocks" ("blockable_id", "blockable_type")[0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_blocks_on_blockable_id_and_blockable_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_blocks_on_blockable_id_and_blockable_type' AND type='index' [1m[36m (0.8ms)[0m [1mCREATE INDEX "index_comfy_cms_blocks_on_identifier" ON "comfy_cms_blocks" ("identifier")[0m [1m[35m (0.8ms)[0m CREATE TABLE "comfy_cms_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "site_id" integer NOT NULL, "label" varchar NOT NULL, "categorized_type" varchar NOT NULL) [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "index_cms_categories_on_site_id_and_cat_type_and_label" ON "comfy_cms_categories" ("site_id", "categorized_type", "label")[0m [1m[35m (0.8ms)[0m CREATE TABLE "comfy_cms_categorizations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer NOT NULL, "categorized_type" varchar NOT NULL, "categorized_id" integer NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_cms_categorizations_on_cat_id_and_catd_type_and_catd_id" ON "comfy_cms_categorizations" ("category_id", "categorized_type", "categorized_id")[0m [1m[35m (0.9ms)[0m CREATE TABLE "comfy_cms_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "site_id" integer NOT NULL, "block_id" integer, "label" varchar NOT NULL, "file_file_name" varchar NOT NULL, "file_content_type" varchar NOT NULL, "file_file_size" integer NOT NULL, "description" varchar(2048), "position" integer DEFAULT 0 NOT NULL, "created_at" datetime, "updated_at" datetime) [1m[36m (0.8ms)[0m [1mCREATE INDEX "index_comfy_cms_files_on_site_id_and_block_id" ON "comfy_cms_files" ("site_id", "block_id")[0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_files_on_site_id_and_block_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_files_on_site_id_and_block_id' AND type='index' [1m[36m (0.7ms)[0m [1mCREATE INDEX "index_comfy_cms_files_on_site_id_and_file_file_name" ON "comfy_cms_files" ("site_id", "file_file_name")[0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_files_on_site_id_and_file_file_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_files_on_site_id_and_file_file_name' AND type='index' [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_files_on_site_id_and_block_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_files_on_site_id_and_block_id' AND type='index' [0m [1m[35m (0.8ms)[0m CREATE INDEX "index_comfy_cms_files_on_site_id_and_label" ON "comfy_cms_files" ("site_id", "label") [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_files_on_site_id_and_label' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_files_on_site_id_and_label' AND type='index' [0m [1m[35m (0.1ms)[0m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_files_on_site_id_and_file_file_name' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_files_on_site_id_and_file_file_name' AND type='index' [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_files_on_site_id_and_block_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_files_on_site_id_and_block_id' AND type='index' [0m [1m[35m (0.8ms)[0m CREATE INDEX "index_comfy_cms_files_on_site_id_and_position" ON "comfy_cms_files" ("site_id", "position") [1m[36m (0.9ms)[0m [1mCREATE TABLE "comfy_cms_layouts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "site_id" integer NOT NULL, "parent_id" integer, "app_layout" varchar, "label" varchar NOT NULL, "identifier" varchar NOT NULL, "content" text(16777215), "css" text(16777215), "js" text(16777215), "position" integer DEFAULT 0 NOT NULL, "is_shared" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.8ms)[0m CREATE INDEX "index_comfy_cms_layouts_on_parent_id_and_position" ON "comfy_cms_layouts" ("parent_id", "position") [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_layouts_on_parent_id_and_position' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_layouts_on_parent_id_and_position' AND type='index' [0m [1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_comfy_cms_layouts_on_site_id_and_identifier" ON "comfy_cms_layouts" ("site_id", "identifier") [1m[36m (0.9ms)[0m [1mCREATE TABLE "comfy_cms_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "site_id" integer NOT NULL, "layout_id" integer, "parent_id" integer, "target_page_id" integer, "label" varchar NOT NULL, "slug" varchar, "full_path" varchar NOT NULL, "content_cache" text(16777215), "position" integer DEFAULT 0 NOT NULL, "children_count" integer DEFAULT 0 NOT NULL, "is_published" boolean DEFAULT 't' NOT NULL, "is_shared" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE INDEX "index_comfy_cms_pages_on_parent_id_and_position" ON "comfy_cms_pages" ("parent_id", "position") [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_pages_on_parent_id_and_position' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_pages_on_parent_id_and_position' AND type='index' [0m [1m[35m (1.1ms)[0m CREATE INDEX "index_comfy_cms_pages_on_site_id_and_full_path" ON "comfy_cms_pages" ("site_id", "full_path") [1m[36m (1.2ms)[0m [1mCREATE TABLE "comfy_cms_revisions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "record_type" varchar NOT NULL, "record_id" integer NOT NULL, "data" text(16777215), "created_at" datetime) [0m [1m[35m (1.2ms)[0m CREATE INDEX "index_cms_revisions_on_rtype_and_rid_and_created_at" ON "comfy_cms_revisions" ("record_type", "record_id", "created_at") [1m[36m (1.0ms)[0m [1mCREATE TABLE "comfy_cms_sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar NOT NULL, "identifier" varchar NOT NULL, "hostname" varchar NOT NULL, "path" varchar, "locale" varchar DEFAULT 'en' NOT NULL, "is_mirrored" boolean DEFAULT 'f' NOT NULL) [0m [1m[35m (0.8ms)[0m CREATE INDEX "index_comfy_cms_sites_on_hostname" ON "comfy_cms_sites" ("hostname") [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_sites_on_hostname' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_sites_on_hostname' AND type='index' [0m [1m[35m (0.9ms)[0m CREATE INDEX "index_comfy_cms_sites_on_is_mirrored" ON "comfy_cms_sites" ("is_mirrored") [1m[36m (0.9ms)[0m [1mCREATE TABLE "comfy_cms_snippets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "site_id" integer NOT NULL, "label" varchar NOT NULL, "identifier" varchar NOT NULL, "content" text(16777215), "position" integer DEFAULT 0 NOT NULL, "is_shared" boolean DEFAULT 'f' NOT NULL, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_comfy_cms_snippets_on_site_id_and_identifier" ON "comfy_cms_snippets" ("site_id", "identifier") [1m[36m (0.1ms)[0m [1m SELECT sql FROM sqlite_master WHERE name='index_comfy_cms_snippets_on_site_id_and_identifier' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_comfy_cms_snippets_on_site_id_and_identifier' AND type='index' [0m [1m[35m (0.9ms)[0m CREATE INDEX "index_comfy_cms_snippets_on_site_id_and_position" ON "comfy_cms_snippets" ("site_id", "position") [1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m [1m[35m (0.8ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150908132121') [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (0.1ms)[0m begin transaction Started GET "/" for 127.0.0.1 at 2015-09-08 15:31:59 +0200 Processing by Comfy::Cms::ContentController#show as HTML [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "comfy_cms_sites"[0m [1m[35mComfy::Cms::Site Load (0.2ms)[0m SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."hostname" = ? [["hostname", "www.example.com"]] Completed 404 Not Found in 674ms (ActiveRecord: 0.6ms) [1m[36m (0.2ms)[0m [1mrollback transaction[0m [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mComfy::Cms::Site Load (0.2ms)[0m [1mSELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."label" = ? AND "comfy_cms_sites"."identifier" = ? AND "comfy_cms_sites"."hostname" = ? AND "comfy_cms_sites"."path" = ? AND "comfy_cms_sites"."locale" = ? AND "comfy_cms_sites"."is_mirrored" = ? AND "comfy_cms_sites"."is_hidden" = 't' ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1[0m [["label", "default"], ["identifier", "default"], ["hostname", "localhost"], ["path", ""], ["locale", "en"], ["is_mirrored", "f"]] SQLite3::SQLException: no such column: comfy_cms_sites.is_hidden: SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."label" = ? AND "comfy_cms_sites"."identifier" = ? AND "comfy_cms_sites"."hostname" = ? AND "comfy_cms_sites"."path" = ? AND "comfy_cms_sites"."locale" = ? AND "comfy_cms_sites"."is_mirrored" = ? AND "comfy_cms_sites"."is_hidden" = 't' ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [1m[35m (0.1ms)[0m rollback transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mComfy::Cms::Site Load (1.1ms)[0m [1mSELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."label" = ? AND "comfy_cms_sites"."identifier" = ? AND "comfy_cms_sites"."hostname" = ? AND "comfy_cms_sites"."path" = ? AND "comfy_cms_sites"."locale" = ? AND "comfy_cms_sites"."is_mirrored" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1[0m [["label", "default"], ["identifier", "default"], ["hostname", "localhost"], ["path", ""], ["locale", "en"], ["is_mirrored", "f"]] [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mComfy::Cms::Site Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = 'default' LIMIT 1[0m [1m[35mComfy::Cms::Site Exists (0.5ms)[0m SELECT 1 AS one FROM "comfy_cms_sites" WHERE ("comfy_cms_sites"."hostname" = 'localhost' AND "comfy_cms_sites"."path" = '') LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "comfy_cms_sites" ("label", "identifier", "hostname", "path") VALUES (?, ?, ?, ?)[0m [["label", "default"], ["identifier", "default"], ["hostname", "localhost"], ["path", ""]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mComfy::Cms::Site Load (0.1ms)[0m [1mSELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1[0m [["identifier", "default"]] [1m[35mComfy::Cms::Site Load (0.0ms)[0m SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [["identifier", "default"]] [1m[36mComfy::Cms::Site Load (0.0ms)[0m [1mSELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1[0m [["identifier", "default"]] [1m[35mComfy::Cms::Layout Load (0.5ms)[0m SELECT "comfy_cms_layouts".* FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."site_id" = ? AND "comfy_cms_layouts"."identifier" = ? ORDER BY comfy_cms_layouts.position LIMIT 1 [["site_id", 1], ["identifier", "main"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mComfy::Cms::Layout Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_layouts" WHERE ("comfy_cms_layouts"."identifier" = 'main' AND "comfy_cms_layouts"."site_id" = 1) LIMIT 1 [1m[36m (0.8ms)[0m [1mSELECT MAX("comfy_cms_layouts"."position") FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."site_id" = ? AND "comfy_cms_layouts"."parent_id" IS NULL[0m [["site_id", 1]] [1m[35mSQL (1.3ms)[0m INSERT INTO "comfy_cms_layouts" ("identifier", "site_id", "label", "app_layout", "content", "css", "js", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["identifier", "main"], ["site_id", 1], ["label", "main"], ["app_layout", "application"], ["content", "{{ cms:field:seo.old_page_url:string }}\r\n{{ cms:field:seo.meta_description:string }}\r\n{{ cms:field:seo.page_title:string }}\r\n{{ cms:field:seo.canonical_href:string }}\r\n{{ cms:field:seo.meta_index:string }}\r\n{{ cms:field:google_plus.name }}\r\n{{ cms:field:google_plus.description }}\r\n{{ cms:field:google_plus.image }}\r\n{{ cms:field:twitter.site }}\r\n{{ cms:field:twitter.title }}\r\n{{ cms:field:twitter.description }}\r\n{{ cms:field:twitter.creator }}\r\n{{ cms:field:twitter.image_src }}\r\n{{ cms:field:facebook.title }}\r\n{{ cms:field:facebook.type }}\r\n{{ cms:field:facebook.image }}\r\n{{ cms:field:facebook.description }}\r\n{{ cms:field:facebook.admins }}\r\n{{ cms:page:content:rich_text }}"], ["css", ""], ["js", ""], ["created_at", "2015-09-08 13:40:16.423012"], ["updated_at", "2015-09-08 13:40:16.423012"]] [1m[36m (0.5ms)[0m [1mSELECT "comfy_cms_pages"."id" FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."layout_id" = ? ORDER BY comfy_cms_pages.position[0m [["layout_id", 1]] [1m[35mSQL (0.1ms)[0m UPDATE "comfy_cms_pages" SET "content_cache" = NULL WHERE "comfy_cms_pages"."id" IN (SELECT "comfy_cms_pages"."id" FROM "comfy_cms_pages" WHERE 1=0 ORDER BY comfy_cms_pages.position) [1m[36mComfy::Cms::Layout Load (0.1ms)[0m [1mSELECT "comfy_cms_layouts".* FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."parent_id" = ? ORDER BY comfy_cms_layouts.position[0m [["parent_id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [FIXTURES] Imported Layout main [1m[36mComfy::Cms::Layout Load (0.1ms)[0m [1mSELECT "comfy_cms_layouts".* FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."site_id" = ? AND (id NOT IN (1)) ORDER BY comfy_cms_layouts.position[0m [["site_id", 1]] [1m[35mComfy::Cms::Site Load (0.1ms)[0m SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [["identifier", "default"]] [1m[36mComfy::Cms::Page Load (0.2ms)[0m [1mSELECT "comfy_cms_pages".* FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ? AND (parent_id IS NULL) ORDER BY comfy_cms_pages.position LIMIT 1[0m [["site_id", 1]] [1m[35mComfy::Cms::Layout Load (0.1ms)[0m SELECT "comfy_cms_layouts".* FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."site_id" = ? AND "comfy_cms_layouts"."identifier" = ? ORDER BY comfy_cms_layouts.position LIMIT 1 [["site_id", 1], ["identifier", "main"]] [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mComfy::Cms::Page Load (0.1ms)[0m SELECT "comfy_cms_pages".* FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ? AND (parent_id IS NULL) ORDER BY comfy_cms_pages.position LIMIT 1 [["site_id", 1]] [1m[36m (1.1ms)[0m [1mSELECT COUNT(*) FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ?[0m [["site_id", 1]] [1m[35mComfy::Cms::Block Exists (0.6ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'content' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36mComfy::Cms::Block Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'facebook.admins' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1[0m [1m[35mComfy::Cms::Block Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'facebook.description' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36mComfy::Cms::Block Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'facebook.image' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1[0m [1m[35mComfy::Cms::Block Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'facebook.title' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36mComfy::Cms::Block Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'facebook.type' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1[0m [1m[35mComfy::Cms::Block Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'google_plus.description' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36mComfy::Cms::Block Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'google_plus.image' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1[0m [1m[35mComfy::Cms::Block Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'google_plus.name' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36mComfy::Cms::Block Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'seo.canonical_href' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1[0m [1m[35mComfy::Cms::Block Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'seo.meta_description' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36mComfy::Cms::Block Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'seo.meta_index' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1[0m [1m[35mComfy::Cms::Block Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'seo.old_page_url' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36mComfy::Cms::Block Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'seo.page_title' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1[0m [1m[35mComfy::Cms::Block Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'twitter.creator' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36mComfy::Cms::Block Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'twitter.description' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1[0m [1m[35mComfy::Cms::Block Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'twitter.image_src' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36mComfy::Cms::Block Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'twitter.site' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1[0m [1m[35mComfy::Cms::Block Exists (0.1ms)[0m SELECT 1 AS one FROM "comfy_cms_blocks" WHERE ("comfy_cms_blocks"."identifier" = 'twitter.title' AND "comfy_cms_blocks"."blockable_type" = 'Comfy::Cms::Page' AND "comfy_cms_blocks"."blockable_id" IS NULL) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ?[0m [["site_id", 1]] [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ? [["site_id", 1]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "comfy_cms_pages" ("slug", "site_id", "label", "layout_id", "full_path", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["slug", "index"], ["site_id", 1], ["label", "root"], ["layout_id", 1], ["full_path", "/"], ["created_at", "2015-09-08 13:40:16.576372"], ["updated_at", "2015-09-08 13:40:16.576372"]] [1m[35mSQL (0.9ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "content"], ["blockable_type", "Comfy::Cms::Page"], ["content", "---
Hello world!
\n...\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.578942"], ["updated_at", "2015-09-08 13:40:16.578942"]] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["identifier", "facebook.admins"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.581971"], ["updated_at", "2015-09-08 13:40:16.581971"]] [1m[35mSQL (0.1ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "facebook.description"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.583985"], ["updated_at", "2015-09-08 13:40:16.583985"]] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["identifier", "facebook.image"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.585907"], ["updated_at", "2015-09-08 13:40:16.585907"]] [1m[35mSQL (0.1ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "facebook.title"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.587648"], ["updated_at", "2015-09-08 13:40:16.587648"]] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["identifier", "facebook.type"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.588956"], ["updated_at", "2015-09-08 13:40:16.588956"]] [1m[35mSQL (0.1ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "google_plus.description"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.590332"], ["updated_at", "2015-09-08 13:40:16.590332"]] [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["identifier", "google_plus.image"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.591983"], ["updated_at", "2015-09-08 13:40:16.591983"]] [1m[35mSQL (0.0ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "google_plus.name"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.593267"], ["updated_at", "2015-09-08 13:40:16.593267"]] [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["identifier", "seo.canonical_href"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- localhost:3000\n...\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.594305"], ["updated_at", "2015-09-08 13:40:16.594305"]] [1m[35mSQL (0.0ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "seo.meta_description"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- Test description\n...\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.595337"], ["updated_at", "2015-09-08 13:40:16.595337"]] [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["identifier", "seo.meta_index"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.596444"], ["updated_at", "2015-09-08 13:40:16.596444"]] [1m[35mSQL (0.0ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "seo.old_page_url"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- blah\n...\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.597518"], ["updated_at", "2015-09-08 13:40:16.597518"]] [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["identifier", "seo.page_title"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- Test Home\n...\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.598509"], ["updated_at", "2015-09-08 13:40:16.598509"]] [1m[35mSQL (0.0ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "twitter.creator"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.599507"], ["updated_at", "2015-09-08 13:40:16.599507"]] [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["identifier", "twitter.description"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.600505"], ["updated_at", "2015-09-08 13:40:16.600505"]] [1m[35mSQL (0.0ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "twitter.image_src"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.601471"], ["updated_at", "2015-09-08 13:40:16.601471"]] [1m[36mSQL (0.0ms)[0m [1mINSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["identifier", "twitter.site"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.602427"], ["updated_at", "2015-09-08 13:40:16.602427"]] [1m[35mSQL (0.0ms)[0m INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["identifier", "twitter.title"], ["blockable_type", "Comfy::Cms::Page"], ["content", "--- ''\n"], ["blockable_id", 1], ["created_at", "2015-09-08 13:40:16.603450"], ["updated_at", "2015-09-08 13:40:16.603450"]] [1m[36mComfy::Cms::Page Load (0.1ms)[0m [1mSELECT "comfy_cms_pages".* FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."parent_id" = ? ORDER BY comfy_cms_pages.position[0m [["parent_id", 1]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mDELETE FROM "comfy_cms_categorizations" WHERE "comfy_cms_categorizations"."categorized_id" = ? AND "comfy_cms_categorizations"."categorized_type" = ?[0m [["categorized_id", 1], ["categorized_type", "Comfy::Cms::Page"]] [FIXTURES] Imported Page / [1m[35mComfy::Cms::Page Load (0.1ms)[0m SELECT "comfy_cms_pages".* FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ? AND (id NOT IN (1)) ORDER BY comfy_cms_pages.position [["site_id", 1]] [1m[36mComfy::Cms::Site Load (0.0ms)[0m [1mSELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1[0m [["identifier", "default"]] [1m[35mComfy::Cms::Snippet Load (0.4ms)[0m SELECT "comfy_cms_snippets".* FROM "comfy_cms_snippets" WHERE "comfy_cms_snippets"."site_id" = ? AND (id NOT IN (NULL)) ORDER BY comfy_cms_snippets.position [["site_id", 1]] [1m[36mComfy::Cms::Site Load (0.1ms)[0m [1mSELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1[0m [["identifier", "default"]] [1m[35mComfy::Cms::File Load (0.5ms)[0m SELECT "comfy_cms_files".* FROM "comfy_cms_files" WHERE "comfy_cms_files"."site_id" = ? AND (id NOT IN (NULL) AND block_id IS NULL) [["site_id", 1]] Started GET "/" for 127.0.0.1 at 2015-09-08 15:40:16 +0200 Processing by Comfy::Cms::ContentController#show as HTML [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "comfy_cms_sites"[0m [1m[35mComfy::Cms::Site Load (0.1ms)[0m SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [1m[36mComfy::Cms::Page Load (0.4ms)[0m [1mSELECT "comfy_cms_pages".* FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ? AND "comfy_cms_pages"."is_published" = ? AND "comfy_cms_pages"."full_path" = ? ORDER BY comfy_cms_pages.position LIMIT 1[0m [["site_id", 1], ["is_published", "t"], ["full_path", "/"]] [1m[35mComfy::Cms::Layout Load (0.1ms)[0m SELECT "comfy_cms_layouts".* FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."id" = ? ORDER BY comfy_cms_layouts.position LIMIT 1 [["id", 1]] [1m[36mComfy::Cms::Block Load (0.2ms)[0m [1mSELECT "comfy_cms_blocks".* FROM "comfy_cms_blocks" WHERE "comfy_cms_blocks"."blockable_id" = ? AND "comfy_cms_blocks"."blockable_type" = ?[0m [["blockable_id", 1], ["blockable_type", "Comfy::Cms::Page"]] [1m[35mSQL (0.1ms)[0m UPDATE "comfy_cms_pages" SET "content_cache" = 'Hello world!
' WHERE "comfy_cms_pages"."id" = ? [["id", 1]] [1m[36mComfy::Cms::Block Load (0.1ms)[0m [1mSELECT "comfy_cms_blocks".* FROM "comfy_cms_blocks" WHERE "comfy_cms_blocks"."blockable_id" = ? AND "comfy_cms_blocks"."blockable_type" = ? AND "comfy_cms_blocks"."identifier" = ? LIMIT 1[0m [["blockable_id", 1], ["blockable_type", "Comfy::Cms::Page"], ["identifier", "mime_type"]] Rendered inline template within layouts/application (1.9ms) Completed 200 OK in 1124ms (Views: 426.6ms | ActiveRecord: 1.1ms) [1m[35m (1.3ms)[0m rollback transaction