(1.4ms) CREATE 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)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_comfy_cms_blocks_on_blockable_id_and_blockable_type" ON "comfy_cms_blocks" ("blockable_id", "blockable_type")  (0.1ms) 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'  (0.8ms) CREATE INDEX "index_comfy_cms_blocks_on_identifier" ON "comfy_cms_blocks" ("identifier")  (0.8ms) 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)  (0.8ms) CREATE UNIQUE INDEX "index_cms_categories_on_site_id_and_cat_type_and_label" ON "comfy_cms_categories" ("site_id", "categorized_type", "label")  (0.8ms) 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)  (0.9ms) CREATE UNIQUE INDEX "index_cms_categorizations_on_cat_id_and_catd_type_and_catd_id" ON "comfy_cms_categorizations" ("category_id", "categorized_type", "categorized_id")  (0.9ms) 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)  (0.8ms) CREATE INDEX "index_comfy_cms_files_on_site_id_and_block_id" ON "comfy_cms_files" ("site_id", "block_id")  (0.1ms) 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'  (0.7ms) CREATE INDEX "index_comfy_cms_files_on_site_id_and_file_file_name" ON "comfy_cms_files" ("site_id", "file_file_name")  (0.1ms) 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'  (0.1ms)  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'   (0.8ms) CREATE INDEX "index_comfy_cms_files_on_site_id_and_label" ON "comfy_cms_files" ("site_id", "label")  (0.1ms)  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'   (0.1ms) 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'  (0.1ms)  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'   (0.8ms) CREATE INDEX "index_comfy_cms_files_on_site_id_and_position" ON "comfy_cms_files" ("site_id", "position")  (0.9ms) CREATE 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)   (0.8ms) CREATE INDEX "index_comfy_cms_layouts_on_parent_id_and_position" ON "comfy_cms_layouts" ("parent_id", "position")  (0.1ms)  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'   (0.9ms) CREATE UNIQUE INDEX "index_comfy_cms_layouts_on_site_id_and_identifier" ON "comfy_cms_layouts" ("site_id", "identifier")  (0.9ms) CREATE 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)   (0.9ms) CREATE INDEX "index_comfy_cms_pages_on_parent_id_and_position" ON "comfy_cms_pages" ("parent_id", "position")  (0.1ms)  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'   (1.1ms) CREATE INDEX "index_comfy_cms_pages_on_site_id_and_full_path" ON "comfy_cms_pages" ("site_id", "full_path")  (1.2ms) CREATE 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)   (1.2ms) CREATE INDEX "index_cms_revisions_on_rtype_and_rid_and_created_at" ON "comfy_cms_revisions" ("record_type", "record_id", "created_at")  (1.0ms) CREATE 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)   (0.8ms) CREATE INDEX "index_comfy_cms_sites_on_hostname" ON "comfy_cms_sites" ("hostname")  (0.1ms)  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'   (0.9ms) CREATE INDEX "index_comfy_cms_sites_on_is_mirrored" ON "comfy_cms_sites" ("is_mirrored")  (0.9ms) CREATE 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)   (0.9ms) CREATE UNIQUE INDEX "index_comfy_cms_snippets_on_site_id_and_identifier" ON "comfy_cms_snippets" ("site_id", "identifier")  (0.1ms)  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'   (0.9ms) CREATE INDEX "index_comfy_cms_snippets_on_site_id_and_position" ON "comfy_cms_snippets" ("site_id", "position")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150908132121') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) 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  (0.1ms) SELECT COUNT(*) FROM "comfy_cms_sites" Comfy::Cms::Site Load (0.2ms) 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)  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Comfy::Cms::Site Load (0.2ms) 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 [["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  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Comfy::Cms::Site Load (1.1ms) 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" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [["label", "default"], ["identifier", "default"], ["hostname", "localhost"], ["path", ""], ["locale", "en"], ["is_mirrored", "f"]]  (0.1ms) SAVEPOINT active_record_1 Comfy::Cms::Site Exists (0.5ms) SELECT 1 AS one FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = 'default' LIMIT 1 Comfy::Cms::Site Exists (0.5ms) SELECT 1 AS one FROM "comfy_cms_sites" WHERE ("comfy_cms_sites"."hostname" = 'localhost' AND "comfy_cms_sites"."path" = '') LIMIT 1 SQL (0.8ms) INSERT INTO "comfy_cms_sites" ("label", "identifier", "hostname", "path") VALUES (?, ?, ?, ?) [["label", "default"], ["identifier", "default"], ["hostname", "localhost"], ["path", ""]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Comfy::Cms::Site Load (0.1ms) SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [["identifier", "default"]] Comfy::Cms::Site Load (0.0ms) SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [["identifier", "default"]] Comfy::Cms::Site Load (0.0ms) SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [["identifier", "default"]] Comfy::Cms::Layout Load (0.5ms) 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"]]  (0.1ms) SAVEPOINT active_record_1 Comfy::Cms::Layout Exists (0.1ms) SELECT 1 AS one FROM "comfy_cms_layouts" WHERE ("comfy_cms_layouts"."identifier" = 'main' AND "comfy_cms_layouts"."site_id" = 1) LIMIT 1  (0.8ms) SELECT MAX("comfy_cms_layouts"."position") FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."site_id" = ? AND "comfy_cms_layouts"."parent_id" IS NULL [["site_id", 1]] SQL (1.3ms) 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"]]  (0.5ms) SELECT "comfy_cms_pages"."id" FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."layout_id" = ? ORDER BY comfy_cms_pages.position [["layout_id", 1]] SQL (0.1ms) 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) Comfy::Cms::Layout Load (0.1ms) SELECT "comfy_cms_layouts".* FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."parent_id" = ? ORDER BY comfy_cms_layouts.position [["parent_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 [FIXTURES] Imported Layout main Comfy::Cms::Layout Load (0.1ms) SELECT "comfy_cms_layouts".* FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."site_id" = ? AND (id NOT IN (1)) ORDER BY comfy_cms_layouts.position [["site_id", 1]] Comfy::Cms::Site Load (0.1ms) SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [["identifier", "default"]] Comfy::Cms::Page Load (0.2ms) 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]] Comfy::Cms::Layout Load (0.1ms) 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"]]  (0.1ms) SAVEPOINT active_record_1 Comfy::Cms::Page Load (0.1ms) 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]]  (1.1ms) SELECT COUNT(*) FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ? [["site_id", 1]] Comfy::Cms::Block Exists (0.6ms) 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 Comfy::Cms::Block Exists (0.1ms) SELECT 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 Comfy::Cms::Block Exists (0.1ms) 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 Comfy::Cms::Block Exists (0.1ms) SELECT 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 Comfy::Cms::Block Exists (0.1ms) 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 Comfy::Cms::Block Exists (0.1ms) SELECT 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 Comfy::Cms::Block Exists (0.1ms) 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 Comfy::Cms::Block Exists (0.1ms) SELECT 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 Comfy::Cms::Block Exists (0.1ms) 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 Comfy::Cms::Block Exists (0.1ms) SELECT 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 Comfy::Cms::Block Exists (0.1ms) 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 Comfy::Cms::Block Exists (0.1ms) SELECT 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 Comfy::Cms::Block Exists (0.1ms) 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 Comfy::Cms::Block Exists (0.1ms) SELECT 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 Comfy::Cms::Block Exists (0.1ms) 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 Comfy::Cms::Block Exists (0.1ms) SELECT 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 Comfy::Cms::Block Exists (0.1ms) 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 Comfy::Cms::Block Exists (0.1ms) SELECT 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 Comfy::Cms::Block Exists (0.1ms) 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  (0.1ms) SELECT COUNT(*) FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ? [["site_id", 1]]  (0.0ms) SELECT COUNT(*) FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."site_id" = ? [["site_id", 1]] SQL (0.3ms) INSERT INTO "comfy_cms_pages" ("slug", "site_id", "label", "layout_id", "full_path", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["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"]] SQL (0.9ms) 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"]] SQL (0.1ms) INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] SQL (0.1ms) 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"]] SQL (0.1ms) INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] SQL (0.1ms) 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"]] SQL (0.1ms) INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] SQL (0.1ms) 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"]] SQL (0.1ms) INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] SQL (0.0ms) 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"]] SQL (0.0ms) INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] SQL (0.0ms) 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"]] SQL (0.0ms) INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] SQL (0.0ms) 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"]] SQL (0.0ms) INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] SQL (0.0ms) 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"]] SQL (0.0ms) INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] SQL (0.0ms) 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"]] SQL (0.0ms) INSERT INTO "comfy_cms_blocks" ("identifier", "blockable_type", "content", "blockable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["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"]] SQL (0.0ms) 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"]] Comfy::Cms::Page Load (0.1ms) SELECT "comfy_cms_pages".* FROM "comfy_cms_pages" WHERE "comfy_cms_pages"."parent_id" = ? ORDER BY comfy_cms_pages.position [["parent_id", 1]]  (0.0ms) RELEASE SAVEPOINT active_record_1 SQL (0.4ms) DELETE FROM "comfy_cms_categorizations" WHERE "comfy_cms_categorizations"."categorized_id" = ? AND "comfy_cms_categorizations"."categorized_type" = ? [["categorized_id", 1], ["categorized_type", "Comfy::Cms::Page"]] [FIXTURES] Imported Page / Comfy::Cms::Page Load (0.1ms) 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]] Comfy::Cms::Site Load (0.0ms) SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [["identifier", "default"]] Comfy::Cms::Snippet Load (0.4ms) 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]] Comfy::Cms::Site Load (0.1ms) SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" WHERE "comfy_cms_sites"."identifier" = ? ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 [["identifier", "default"]] Comfy::Cms::File Load (0.5ms) 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  (0.1ms) SELECT COUNT(*) FROM "comfy_cms_sites" Comfy::Cms::Site Load (0.1ms) SELECT "comfy_cms_sites".* FROM "comfy_cms_sites" ORDER BY "comfy_cms_sites"."id" ASC LIMIT 1 Comfy::Cms::Page Load (0.4ms) SELECT "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 [["site_id", 1], ["is_published", "t"], ["full_path", "/"]] Comfy::Cms::Layout Load (0.1ms) SELECT "comfy_cms_layouts".* FROM "comfy_cms_layouts" WHERE "comfy_cms_layouts"."id" = ? ORDER BY comfy_cms_layouts.position LIMIT 1 [["id", 1]] Comfy::Cms::Block Load (0.2ms) SELECT "comfy_cms_blocks".* FROM "comfy_cms_blocks" WHERE "comfy_cms_blocks"."blockable_id" = ? AND "comfy_cms_blocks"."blockable_type" = ? [["blockable_id", 1], ["blockable_type", "Comfy::Cms::Page"]] SQL (0.1ms) UPDATE "comfy_cms_pages" SET "content_cache" = '

Hello world!

' WHERE "comfy_cms_pages"."id" = ? [["id", 1]] Comfy::Cms::Block Load (0.1ms) SELECT "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 [["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)  (1.3ms) rollback transaction