(1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.4ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "published" boolean, "category_id" integer, "priority" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303102920"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (1.0ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "published" boolean, "category_id" integer, "priority" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (2.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "published" boolean, "category_id" integer, "priority" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920') ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (1.8ms) DROP TABLE "knowledge_base_categories" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140303102920'  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.5ms) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303102920"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (1.2ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.6ms) 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 ('20140303102920') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.8ms) DROP TABLE "knowledge_base_categories" SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140303102920'  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) CREATE UNIQUE INDEX "index_knowledge_base_articles_on_slug" ON "knowledge_base_articles" ("slug") SQLite3::SQLException: no such table: main.knowledge_base_articles: CREATE UNIQUE INDEX "index_knowledge_base_articles_on_slug" ON "knowledge_base_articles" ("slug")  (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303102920"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (1.1ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140303102920')  (2.5ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.6ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (3.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (1.1ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920') Started GET "/" for 127.0.0.1 at 2014-03-03 15:53:56 +0100 Processing by Rails::WelcomeController#index as HTML Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/railties-4.1.0.rc1/lib/rails/templates/rails/welcome/index.html.erb (1.7ms) Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms) Started GET "/sdasd" for 127.0.0.1 at 2014-03-03 15:54:06 +0100 ActionController::RoutingError (No route matches [GET] "/sdasd"): actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.6ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (28.6ms)  (1.1ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140303102920')  (2.6ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (2.6ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (2.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (2.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920') Started GET "/categories" for 127.0.0.1 at 2014-03-03 16:05:55 +0100 ActionController::RoutingError (No route matches [GET] "/categories"): actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.7ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (20.6ms) Started GET "/categories" for 127.0.0.1 at 2014-03-03 16:05:57 +0100 ActionController::RoutingError (No route matches [GET] "/categories"): actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (14.4ms) Started GET "/categories" for 127.0.0.1 at 2014-03-03 16:06:00 +0100 ActionController::RoutingError (No route matches [GET] "/categories"): actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.9ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (17.1ms) Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 16:06:08 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (0.4ms) Completed 200 OK in 31ms (Views: 30.6ms | ActiveRecord: 0.0ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 16:06:08 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 16:06:08 +0100  (2.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.5ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140303102920')  (1.1ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (2.5ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140303102920')  (2.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (2.5ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (2.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) 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 ('20140303102920')  (2.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140303102920')  (2.5ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140303102920')  (6.6ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140303102920')  (2.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140303102920')  (9.6ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.2ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140303102920')  (2.6ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140303102920')  (2.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published" boolean, "category_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (1.0ms) 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 ('20140303102920') ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.8ms) DROP INDEX "index_knowledge_base_categories_on_slug"  (1.8ms) DROP TABLE "knowledge_base_categories" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140303102920'  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.9ms) 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 ('0')  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.9ms) 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 ('0') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (1.1ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303102920"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseArticles (20140303152945)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303152945"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (2.5ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.5ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.7ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (1.5ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.5ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (2.8ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920') Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 16:51:35 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML Completed 500 Internal Server Error in 18ms NameError (undefined local variable or method `publishable' for #): activerecord (4.1.0.rc1) lib/active_record/dynamic_matchers.rb:26:in `method_missing' /Users/jgorset/code/ruby/knowledge_base/app/models/knowledge_base/category.rb:5:in `' /Users/jgorset/code/ruby/knowledge_base/app/models/knowledge_base/category.rb:2:in `' /Users/jgorset/code/ruby/knowledge_base/app/models/knowledge_base/category.rb:1:in `' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:443:in `load' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:443:in `block in load_file' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:633:in `new_constants_in' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:442:in `load_file' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:342:in `require_or_load' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:480:in `load_missing_constant' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:180:in `const_missing' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:512:in `load_missing_constant' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:180:in `const_missing' /Users/jgorset/code/ruby/knowledge_base/app/controllers/knowledge_base/categories_controller.rb:6:in `index' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.2ms) Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 16:51:42 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (2.4ms) Completed 200 OK in 55ms (Views: 32.4ms | ActiveRecord: 1.0ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 16:51:42 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 16:51:42 +0100 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'consequatur' LIMIT 1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sitsitqui' LIMIT 1 SQL (0.8ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:11:27.878490"], ["description", "Aperiam quo repudiandae laudantium nihil non dolores."], ["slug", "sitsitqui"], ["title", "sitsitqui"], ["updated_at", "2014-03-03 16:11:27.878490"]]  (0.7ms) commit transaction  (0.0ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'numquamdelenitiaut' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:11:27.892220"], ["description", "Minima placeat ut laborum fugiat dolorem earum."], ["slug", "numquamdelenitiaut"], ["title", "numquamdelenitiaut"], ["updated_at", "2014-03-03 16:11:27.892220"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'adinventoreaut' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:11:39.446891"], ["description", "Nesciunt id magni consequuntur."], ["slug", "adinventoreaut"], ["title", "adinventoreaut"], ["updated_at", "2014-03-03 16:11:39.446891"]]  (2.3ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'quiaexercitationemdolorem' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:11:39.461796"], ["description", "Dolor delectus expedita cupiditate voluptatem vel consequatur ipsum."], ["slug", "quiaexercitationemdolorem"], ["title", "quiaexercitationemdolorem"], ["updated_at", "2014-03-03 16:11:39.461796"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ut' LIMIT 1  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sequiexmodi' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:11:54.107674"], ["description", "Voluptatum quos quas ut."], ["slug", "sequiexmodi"], ["title", "sequiexmodi"], ["updated_at", "2014-03-03 16:11:54.107674"]]  (2.1ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'quisfugaet' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:11:54.122142"], ["description", "Eveniet expedita eos deserunt distinctio facere iusto."], ["slug", "quisfugaet"], ["title", "quisfugaet"], ["updated_at", "2014-03-03 16:11:54.122142"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'excepturiundehic' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:12:13.888786"], ["description", "Ea porro molestias tenetur suscipit et."], ["slug", "excepturiundehic"], ["title", "excepturiundehic"], ["updated_at", "2014-03-03 16:12:13.888786"]]  (2.3ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'dignissimosmolestiaevoluptatem' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:12:13.903234"], ["description", "Repudiandae magnam reiciendis consequuntur ut id."], ["slug", "dignissimosmolestiaevoluptatem"], ["title", "dignissimosmolestiaevoluptatem"], ["updated_at", "2014-03-03 16:12:13.903234"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'quaequidolores' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:12:21.565034"], ["description", "Consequuntur totam culpa ullam est quam perspiciatis."], ["slug", "quaequidolores"], ["title", "quaequidolores"], ["updated_at", "2014-03-03 16:12:21.565034"]]  (0.9ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'quiquiseum' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:12:21.577589"], ["description", "Et assumenda ipsum qui."], ["slug", "quiquiseum"], ["title", "quiquiseum"], ["updated_at", "2014-03-03 16:12:21.577589"]]  (0.9ms) commit transaction Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:12:25 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (0.1ms) Completed 200 OK in 6ms (Views: 5.3ms | ActiveRecord: 0.0ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:12:25 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:12:25 +0100 Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:12:25 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:12:25 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:12:25 +0100  (0.1ms) SELECT COUNT(*) FROM "knowledge_base_categories" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction  (0.1ms) SELECT COUNT(*) FROM "knowledge_base_categories" KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'enimnullaoccaecati' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:12:39.470300"], ["description", "Id quam ut eligendi tenetur quia officia aperiam."], ["slug", "enimnullaoccaecati"], ["title", "enimnullaoccaecati"], ["updated_at", "2014-03-03 16:12:39.470300"]]  (0.8ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'quaeratperferendisnon' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:12:39.484249"], ["description", "Animi expedita odit et repellat vel blanditiis est."], ["slug", "quaeratperferendisnon"], ["title", "quaeratperferendisnon"], ["updated_at", "2014-03-03 16:12:39.484249"]]  (0.7ms) commit transaction  (0.2ms) SELECT COUNT(*) FROM "knowledge_base_categories"  (1.1ms) DROP TABLE "knowledge_base_articles"  (1.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) DROP TABLE "knowledge_base_categories"  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'idexercitationemquis' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:12:52.585434"], ["description", "Amet nobis magni magnam qui aut."], ["slug", "idexercitationemquis"], ["title", "idexercitationemquis"], ["updated_at", "2014-03-03 16:12:52.585434"]]  (0.7ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'maioresreiciendisnumquam' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:12:52.599516"], ["description", "Est consequatur hic alias aliquam et voluptas sunt qui."], ["slug", "maioresreiciendisnumquam"], ["title", "maioresreiciendisnumquam"], ["updated_at", "2014-03-03 16:12:52.599516"]]  (0.8ms) commit transaction  (0.4ms) SELECT COUNT(*) FROM "knowledge_base_categories" Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:14:18 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.4ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (11.1ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:14:18 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:14:18 +0100 Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:14:20 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.1ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (1.0ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.1ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:14:20 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:14:20 +0100 Started GET "/knowledge_base/categories/idexercitationemquis" for 127.0.0.1 at 2014-03-03 17:14:20 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"idexercitationemquis"} KnowledgeBase::Category Load (0.3ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'idexercitationemquis' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (0.4ms) Completed 200 OK in 8ms (Views: 3.9ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:14:20 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:14:20 +0100  (1.2ms) DROP TABLE "knowledge_base_articles"  (0.7ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) DROP TABLE "knowledge_base_categories"  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'harumanimiomnis' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:14:44.134060"], ["description", "Quibusdam omnis fugit reiciendis."], ["slug", "harumanimiomnis"], ["title", "harumanimiomnis"], ["updated_at", "2014-03-03 16:14:44.134060"]]  (0.7ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'inventorebeataedeleniti' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:14:44.147354"], ["description", "Tempore nisi dolor asperiores voluptas voluptatem."], ["slug", "inventorebeataedeleniti"], ["title", "inventorebeataedeleniti"], ["updated_at", "2014-03-03 16:14:44.147354"]]  (0.8ms) commit transaction  (0.0ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'etexplicabodebitis' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:14:44.150990"], ["description", "Et velit saepe illum."], ["slug", "etexplicabodebitis"], ["title", "etexplicabodebitis"], ["updated_at", "2014-03-03 16:14:44.150990"]]  (0.7ms) commit transaction  (0.0ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'dictadoloremquetenetur' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:14:44.154071"], ["description", "Architecto excepturi quibusdam distinctio."], ["slug", "dictadoloremquetenetur"], ["title", "dictadoloremquetenetur"], ["updated_at", "2014-03-03 16:14:44.154071"]]  (0.8ms) commit transaction  (0.0ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'quiuttenetur' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:14:44.157158"], ["description", "Corporis architecto blanditiis nihil nihil."], ["slug", "quiuttenetur"], ["title", "quiuttenetur"], ["updated_at", "2014-03-03 16:14:44.157158"]]  (0.8ms) commit transaction  (0.0ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'dictaquivitae' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:14:44.160378"], ["description", "At qui autem perspiciatis."], ["slug", "dictaquivitae"], ["title", "dictaquivitae"], ["updated_at", "2014-03-03 16:14:44.160378"]]  (0.8ms) commit transaction Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:14:45 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.4ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (1.6ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:14:45 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:14:45 +0100 Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:14:45 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.1ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (0.8ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:14:45 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:14:45 +0100  (1.1ms) DROP TABLE "knowledge_base_articles"  (0.9ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) DROP TABLE "knowledge_base_categories"  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.1ms) SELECT version FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' LIMIT 1 SQL (0.5ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-03 16:14:55.964453"], ["description", "Quisquam at cumque minima dolorem adipisci dolorem dolores."], ["slug", "fugiatsaepeut"], ["title", "fugiatsaepeut"], ["updated_at", "2014-03-03 16:14:55.964453"]]  (0.9ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'utistemagni' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-03 16:14:55.985134"], ["description", "Et itaque eos sit dolorum placeat asperiores."], ["slug", "utistemagni"], ["title", "utistemagni"], ["updated_at", "2014-03-03 16:14:55.985134"]]  (0.6ms) commit transaction  (0.0ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'aliquidpraesentiumcum' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-03 16:14:55.988823"], ["description", "Praesentium perferendis optio pariatur suscipit autem unde magnam est."], ["slug", "aliquidpraesentiumcum"], ["title", "aliquidpraesentiumcum"], ["updated_at", "2014-03-03 16:14:55.988823"]]  (0.6ms) commit transaction  (0.0ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'estaccusamuset' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-03 16:14:55.992046"], ["description", "Sed quia quibusdam enim deleniti quis."], ["slug", "estaccusamuset"], ["title", "estaccusamuset"], ["updated_at", "2014-03-03 16:14:55.992046"]]  (0.6ms) commit transaction  (0.0ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'exercitationemeaqueaut' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-03 16:14:55.995205"], ["description", "Qui vitae provident sed et."], ["slug", "exercitationemeaqueaut"], ["title", "exercitationemeaqueaut"], ["updated_at", "2014-03-03 16:14:55.995205"]]  (0.6ms) commit transaction  (0.0ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'officiisexplicaboaut' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-03 16:14:55.998501"], ["description", "Quas iusto in dolore aut accusamus hic."], ["slug", "officiisexplicaboaut"], ["title", "officiisexplicaboaut"], ["updated_at", "2014-03-03 16:14:55.998501"]]  (0.5ms) commit transaction Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:14:57 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.3ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (1.3ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:14:57 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:14:57 +0100 Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:15:14 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (4.4ms) Completed 500 Internal Server Error in 6ms ActionView::Template::Error (undefined method `articles' for nil:NilClass): 1:

Categories

2: 3:
    4: <% @category.articles.each do |article| %> 5:
  • <%= link_to article.title, article %>
  • 6: <% end %> 7:
/Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb:4:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_categories_index_html_erb___2994353249392965308_70296143949860' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (12.4ms) Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:15:30 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (2.3ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:15:30 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:15:30 +0100 Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-03 17:15:56 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.1ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (0.8ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.1ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:15:57 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:15:57 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:15:59 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.3ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (25.4ms) Completed 500 Internal Server Error in 29ms ActionView::Template::Error (undefined method `article_path' for #<#:0x007fde37aca720>): 2: 3:
    4: <% @category.articles.each do |article| %> 5:
  • <%= link_to article.title, article %>
  • 6: <% end %> 7:
actionpack (4.1.0.rc1) lib/action_dispatch/routing/polymorphic_routes.rb:142:in `polymorphic_url' actionpack (4.1.0.rc1) lib/action_dispatch/routing/polymorphic_routes.rb:148:in `polymorphic_path' actionview (4.1.0.rc1) lib/action_view/routing_url_for.rb:89:in `url_for' actionview (4.1.0.rc1) lib/action_view/helpers/url_helper.rb:181:in `link_to' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb:5:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_categories_show_html_erb___4592654618239932998_70296196759620' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb:4:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_categories_show_html_erb___4592654618239932998_70296196759620' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.3ms) Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:16:20 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (7.5ms) Completed 500 Internal Server Error in 11ms ActionView::Template::Error (undefined local variable or method `category' for #<#:0x007fde314f6408>): 2: 3:
    4: <% @category.articles.each do |article| %> 5:
  • <%= link_to article.title, category_article_path(category, article) %>
  • 6: <% end %> 7:
/Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb:5:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_categories_show_html_erb___4592654618239932998_70296143388980' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb:4:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_categories_show_html_erb___4592654618239932998_70296143388980' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (13.0ms) Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:16:23 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (3.0ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:16:23 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:16:23 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:16:59 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (2.9ms) Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:16:59 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:16:59 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:17:11 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (3.7ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:17:11 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:17:11 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut/articles/aliquidpraesentiumcum" for 127.0.0.1 at 2014-03-03 17:17:12 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"fugiatsaepeut", "id"=>"aliquidpraesentiumcum"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'aliquidpraesentiumcum' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.3ms) Completed 200 OK in 6ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:17:12 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:17:12 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:17:53 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (3.5ms) Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:17:53 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:17:53 +0100 Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-03 17:17:55 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (1.7ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:17:55 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:17:55 +0100 Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-03 17:18:13 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (5.8ms) Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:18:13 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:18:13 +0100 Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-03 17:18:40 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.1ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (1.1ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.1ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:18:40 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:18:40 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:18:42 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (3.9ms) Completed 200 OK in 8ms (Views: 6.9ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:18:42 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:18:42 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:18:50 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (3.1ms) Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:18:50 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:18:50 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:19:12 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (3.3ms) Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:19:12 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:19:12 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-03 17:19:58 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (2.7ms) Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:19:58 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:19:58 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut/articles/utistemagni" for 127.0.0.1 at 2014-03-03 17:19:59 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"fugiatsaepeut", "id"=>"utistemagni"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'utistemagni' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (1.0ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (undefined method `title' for nil:NilClass): 1:

<%= @article.title %>

2: 3:
4: <%= simple_format @category.description %> /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:1:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb__2519797577379115132_70296162137460' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.1ms) Started GET "/knowledge_base/categories/fugiatsaepeut/articles/utistemagni" for 127.0.0.1 at 2014-03-03 17:20:11 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"fugiatsaepeut", "id"=>"utistemagni"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'utistemagni' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (1.0ms) Completed 500 Internal Server Error in 5ms ActionView::Template::Error (undefined method `title' for nil:NilClass): 1:

<%= @article.title %>

2: 3:
4: <%= simple_format @article.description %> /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:1:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb__2519797577379115132_70296157911940' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.3ms) Started GET "/knowledge_base/categories/fugiatsaepeut/articles/utistemagni" for 127.0.0.1 at 2014-03-03 17:20:22 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"fugiatsaepeut", "id"=>"utistemagni"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'utistemagni' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (4.8ms) Completed 200 OK in 18ms (Views: 8.0ms | ActiveRecord: 1.1ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-03 17:20:22 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-03 17:20:22 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut/articles/utistemagni" for 127.0.0.1 at 2014-03-04 12:15:47 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"fugiatsaepeut", "id"=>"utistemagni"} KnowledgeBase::Category Load (2.4ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.3ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'utistemagni' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (2.9ms) Completed 200 OK in 37ms (Views: 15.2ms | ActiveRecord: 2.6ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-04 12:15:47 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-04 12:15:47 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut/articles/utistemagni" for 127.0.0.1 at 2014-03-04 12:17:36 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"fugiatsaepeut", "id"=>"utistemagni"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'utistemagni' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.1ms) Completed 200 OK in 9ms (Views: 6.1ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-04 12:17:36 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-04 12:17:36 +0100 Started GET "/" for 127.0.0.1 at 2014-03-05 15:31:02 +0100 Processing by Rails::WelcomeController#index as HTML Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/railties-4.1.0.rc1/lib/rails/templates/rails/welcome/index.html.erb (0.8ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms) Started GET "/knowledge_base/" for 127.0.0.1 at 2014-03-05 15:31:06 +0100 ActionController::RoutingError (No route matches [GET] "/knowledge_base"): actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (13.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (35.0ms) Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-05 15:31:09 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.6ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (7.7ms) Completed 200 OK in 19ms (Views: 12.3ms | ActiveRecord: 1.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-05 15:31:09 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-05 15:31:09 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut" for 127.0.0.1 at 2014-03-05 15:31:10 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"fugiatsaepeut"} KnowledgeBase::Category Load (2.0ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.8ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (12.8ms) Completed 200 OK in 21ms (Views: 16.0ms | ActiveRecord: 3.1ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-05 15:31:10 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-05 15:31:10 +0100 Started GET "/knowledge_base/categories/fugiatsaepeut/articles/aliquidpraesentiumcum" for 127.0.0.1 at 2014-03-05 15:31:11 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"fugiatsaepeut", "id"=>"aliquidpraesentiumcum"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'fugiatsaepeut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'aliquidpraesentiumcum' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.2ms) Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-05 15:31:11 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-05 15:31:11 +0100 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "article_id" integer, "article_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.5ms) select sqlite_version(*)  (0.2ms) CREATE INDEX "index_knowledge_base_sections_on_article_id_and_article_type" ON "knowledge_base_sections" ("article_id", "article_type") SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140305134249"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id_and_article_type' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id_and_article_type' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (1.5ms) DROP TABLE "knowledge_base_sections" SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140305134249'  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140305134249"]]  (2.4ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (16.5ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (2.5ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (2.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (1.0ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (1.0ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (1.0ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (3.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (2.9ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) 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 ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (2.9ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (1.0ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) 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 ('20140305134249')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.1ms) SELECT version FROM schema_migrations  (0.1ms) SELECT version FROM schema_migrations ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.4ms) DROP INDEX "index_knowledge_base_sections_on_sectionable"  (1.2ms) DROP TABLE "knowledge_base_sections" SQL (0.2ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140305134249'  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140305134249"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "weight" varchar(255), "sectionable_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_texts_on_sectionable_id" ON "knowledge_base_sectionables_texts" ("sectionable_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306103853"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_texts_on_sectionable_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_texts_on_sectionable_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.5ms) DROP TABLE "knowledge_base_sectionables_texts" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306103853'  (2.4ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "weight" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306103853"]]  (2.3ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306123236"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.4ms) DROP TABLE "knowledge_base_sectionables_images" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306123236'  (2.1ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.4ms) DROP TABLE "knowledge_base_sectionables_texts" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306103853'  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306103853"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306123236"]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (1.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (1.0ms) 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 ('20140306123236') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'esteaid' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 13:34:10.824219"], ["description", "Corporis dolore voluptatum aperiam atque dolorem culpa necessitatibus eum."], ["slug", "esteaid"], ["title", "esteaid"], ["updated_at", "2014-03-06 13:34:10.824219"]]  (0.6ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'eadelenitineque' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 13:34:10.844638"], ["description", "Quos eveniet voluptas non."], ["slug", "eadelenitineque"], ["title", "eadelenitineque"], ["updated_at", "2014-03-06 13:34:10.844638"]]  (0.8ms) commit transaction Started GET "/" for 127.0.0.1 at 2014-03-06 14:34:44 +0100 Processing by Rails::WelcomeController#index as HTML Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/railties-4.1.0.rc1/lib/rails/templates/rails/welcome/index.html.erb (1.5ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms) Started GET "/" for 127.0.0.1 at 2014-03-06 14:34:45 +0100 Processing by Rails::WelcomeController#index as HTML Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/railties-4.1.0.rc1/lib/rails/templates/rails/welcome/index.html.erb (0.1ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms) Started GET "/categories" for 127.0.0.1 at 2014-03-06 14:34:47 +0100 ActionController::RoutingError (No route matches [GET] "/categories"): actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.9ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (31.2ms) Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-06 14:34:52 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.1ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (12.0ms) Completed 200 OK in 87ms (Views: 37.9ms | ActiveRecord: 1.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:34:52 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:34:52 +0100 Started GET "/knowledge_base/categories/esteaid" for 127.0.0.1 at 2014-03-06 14:34:53 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"esteaid"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'esteaid' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (47.7ms) Completed 200 OK in 55ms (Views: 50.4ms | ActiveRecord: 0.7ms) Started GET "/knowledge_base/categories/esteaid/articles/eadelenitineque" for 127.0.0.1 at 2014-03-06 14:34:54 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"esteaid", "id"=>"eadelenitineque"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'esteaid' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'eadelenitineque' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.5ms) Completed 200 OK in 7ms (Views: 3.7ms | ActiveRecord: 0.3ms) Started GET "/knowledge_base/categories/esteaid/articles/eadelenitineque" for 127.0.0.1 at 2014-03-06 14:35:52 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"esteaid", "id"=>"eadelenitineque"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'esteaid' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'eadelenitineque' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:35:52 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:35:52 +0100 Started GET "/knowledge_base/categories/esteaid/articles/eadelenitineque" for 127.0.0.1 at 2014-03-06 14:35:53 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"esteaid", "id"=>"eadelenitineque"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'esteaid' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'eadelenitineque' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.2ms) Completed 200 OK in 6ms (Views: 3.3ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:35:54 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:35:54 +0100  (2.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'perferendisvoluptatemnemo' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 13:36:11.037789"], ["description", "Est id dolor rem."], ["slug", "perferendisvoluptatemnemo"], ["title", "perferendisvoluptatemnemo"], ["updated_at", "2014-03-06 13:36:11.037789"]]  (2.1ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'velitquoreprehenderit' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 13:36:11.061079"], ["description", "Labore nisi et sapiente impedit non sed voluptates."], ["slug", "velitquoreprehenderit"], ["title", "velitquoreprehenderit"], ["updated_at", "2014-03-06 13:36:11.061079"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Blanditiis velit possimus error et eum nemo. Neque architecto sed necessitatibus esse sapiente laborum vel. Sit repellat aut adipisci similique eligendi porro. Consectetur qui molestiae. Ratione magni blanditiis eaque quo minima."], ["created_at", "2014-03-06 13:36:11.070983"], ["heading", "maioresvoluptatemest"], ["lead", "Ut aut in debitis."], ["updated_at", "2014-03-06 13:36:11.070983"]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (2.6ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sintadipisciquo' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 13:36:46.174696"], ["description", "Quia aliquid rerum quia voluptas laboriosam voluptatum a."], ["slug", "sintadipisciquo"], ["title", "sintadipisciquo"], ["updated_at", "2014-03-06 13:36:46.174696"]]  (2.3ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'doloremfugitmollitia' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 13:36:46.196256"], ["description", "Ut quas quis a minus aliquid."], ["slug", "doloremfugitmollitia"], ["title", "doloremfugitmollitia"], ["updated_at", "2014-03-06 13:36:46.196256"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Officiis eos fuga omnis natus porro. Et odio explicabo vitae illum ea quasi. Tenetur praesentium consequatur."], ["created_at", "2014-03-06 13:36:46.205367"], ["heading", "sintinquasi"], ["lead", "Ab sit dolores voluptatem."], ["updated_at", "2014-03-06 13:36:46.205367"]]  (0.7ms) commit transaction  (2.6ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'totameumreiciendis' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 13:37:01.160842"], ["description", "Ut aut aut laborum."], ["slug", "totameumreiciendis"], ["title", "totameumreiciendis"], ["updated_at", "2014-03-06 13:37:01.160842"]]  (2.3ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'autundeaut' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 13:37:01.181273"], ["description", "Veritatis voluptatem eius nam ipsam blanditiis molestiae."], ["slug", "autundeaut"], ["title", "autundeaut"], ["updated_at", "2014-03-06 13:37:01.181273"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Aliquid quod debitis sit est eaque nulla. Omnis eligendi aut in ratione. Ut aut quam molestiae vel perferendis. Quas nostrum officiis. Voluptatum necessitatibus ipsa laborum corrupti qui eligendi unde."], ["created_at", "2014-03-06 13:37:01.189952"], ["heading", "veritatisetinventore"], ["lead", "Iure enim iste et quam ad officiis a est."], ["updated_at", "2014-03-06 13:37:01.189952"]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (2.6ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (1.0ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140306123236') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'excepturioptiomaiores' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 13:39:27.852324"], ["description", "Debitis distinctio modi amet suscipit non."], ["slug", "excepturioptiomaiores"], ["title", "excepturioptiomaiores"], ["updated_at", "2014-03-06 13:39:27.852324"]]  (2.2ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'eiusmagnambeatae' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 13:39:27.873967"], ["description", "Nemo illum cumque sit esse sapiente."], ["slug", "eiusmagnambeatae"], ["title", "eiusmagnambeatae"], ["updated_at", "2014-03-06 13:39:27.873967"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Corrupti voluptate dicta ex. Sapiente magnam ullam in est dignissimos. Sunt accusantium culpa ducimus."], ["created_at", "2014-03-06 13:39:27.882958"], ["heading", "eummaximeet"], ["lead", "Quo dolores architecto esse voluptatum quo excepturi modi."], ["updated_at", "2014-03-06 13:39:27.882958"]]  (0.8ms) commit transaction Started GET "/knowledge_base/categories/esteaid/articles/eadelenitineque" for 127.0.0.1 at 2014-03-06 14:39:37 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"esteaid", "id"=>"eadelenitineque"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'esteaid' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'eadelenitineque' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.1ms) Completed 200 OK in 6ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:39:37 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:39:37 +0100 Started GET "/knowledge_base/categories/esteaid/articles/eadelenitineque" for 127.0.0.1 at 2014-03-06 14:39:38 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"esteaid", "id"=>"eadelenitineque"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'esteaid' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'eadelenitineque' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.1ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:39:38 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:39:38 +0100 Started GET "/knowledge_base/categories/esteaid/articles/eadelenitineque" for 127.0.0.1 at 2014-03-06 14:39:41 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"esteaid", "id"=>"eadelenitineque"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'esteaid' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'eadelenitineque' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.2ms) Completed 200 OK in 6ms (Views: 3.4ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:39:41 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:39:41 +0100  (0.2ms) SELECT COUNT(*) FROM "knowledge_base_articles" KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? ORDER BY "knowledge_base_sections"."id" ASC LIMIT 1 [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]]  (1.1ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'eaquedoloribusquasi' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 13:40:42.858119"], ["description", "Animi ipsam aut quod sed sunt voluptas."], ["slug", "eaquedoloribusquasi"], ["title", "eaquedoloribusquasi"], ["updated_at", "2014-03-06 13:40:42.858119"]]  (2.4ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'enimautvoluptas' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 13:40:42.879764"], ["description", "Iste nesciunt doloribus ullam est ducimus autem."], ["slug", "enimautvoluptas"], ["title", "enimautvoluptas"], ["updated_at", "2014-03-06 13:40:42.879764"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Veniam veritatis recusandae. Consequuntur et aut aspernatur aliquid rerum nemo ex. Eveniet omnis repellendus quisquam aliquam. Sunt cumque fugit. Repellendus recusandae dolorem in quis."], ["created_at", "2014-03-06 13:40:42.888522"], ["heading", "sitnihileum"], ["lead", "Consectetur est perferendis et delectus consequatur aut."], ["updated_at", "2014-03-06 13:40:42.888522"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "knowledge_base_sections" ADD "article_id" integer SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134124"]]  (2.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (1.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.3ms) DROP TABLE "knowledge_base_sections"  (0.1ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.0ms) SELECT * FROM "aknowledge_base_sections"  (0.4ms) DROP TABLE "aknowledge_base_sections" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306134124'  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "knowledge_base_sections" ADD "article_id" integer  (0.0ms) select sqlite_version(*)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134124"]]  (2.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (2.7ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'aspernaturundesed' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 13:44:24.846456"], ["description", "Consectetur assumenda nulla consequatur."], ["slug", "aspernaturundesed"], ["title", "aspernaturundesed"], ["updated_at", "2014-03-06 13:44:24.846456"]]  (2.5ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'molestiaecumet' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 13:44:24.865163"], ["description", "Ea at quae quia esse deleniti eum."], ["slug", "molestiaecumet"], ["title", "molestiaecumet"], ["updated_at", "2014-03-06 13:44:24.865163"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Eaque nobis quaerat voluptas odit incidunt. Itaque rem sint magni. Voluptas deleniti alias unde voluptatem. Harum omnis sunt est quod."], ["created_at", "2014-03-06 13:44:24.876079"], ["heading", "inquosconsequatur"], ["lead", "Voluptas ea tempora earum eligendi et voluptatibus sed."], ["updated_at", "2014-03-06 13:44:24.876079"]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (1.1ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.3ms) DROP TABLE "knowledge_base_sections"  (0.1ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.0ms) SELECT * FROM "aknowledge_base_sections"  (0.4ms) DROP TABLE "aknowledge_base_sections" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306134124'  (2.4ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.3ms) DROP TABLE "knowledge_base_sectionables_images" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306123236'  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.3ms) DROP TABLE "knowledge_base_sectionables_texts" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306103853'  (1.6ms) commit transaction Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.2ms) DROP INDEX "index_knowledge_base_sections_on_sectionable"  (0.3ms) DROP TABLE "knowledge_base_sections" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140305134249'  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseArticles (20140303152945)  (0.1ms) begin transaction  (0.3ms) DROP TABLE "knowledge_base_articles" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140303152945'  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.2ms) DROP INDEX "index_knowledge_base_categories_on_slug"  (0.4ms) DROP TABLE "knowledge_base_categories" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140303102920'  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (1.2ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303102920"]]  (1.8ms) commit transaction Migrating to CreateKnowledgeBaseArticles (20140303152945)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303152945"]]  (2.0ms) commit transaction Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140305134249"]]  (1.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306103853"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306123236"]]  (0.8ms) commit transaction Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (0.4ms) ALTER TABLE "knowledge_base_sections" ADD "article_id" integer  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134124"]]  (2.3ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (1.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.3ms) DROP TABLE "knowledge_base_sections"  (0.2ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.0ms) SELECT * FROM "aknowledge_base_sections"  (0.4ms) DROP TABLE "aknowledge_base_sections" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306134124'  (2.0ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.3ms) DROP TABLE "knowledge_base_sectionables_images" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306123236'  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.2ms) DROP TABLE "knowledge_base_sectionables_texts" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140306103853'  (0.6ms) commit transaction Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.2ms) DROP INDEX "index_knowledge_base_sections_on_sectionable"  (0.3ms) DROP TABLE "knowledge_base_sections" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140305134249'  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseArticles (20140303152945)  (0.1ms) begin transaction  (0.3ms) DROP TABLE "knowledge_base_articles" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140303152945'  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.2ms) DROP INDEX "index_knowledge_base_categories_on_slug"  (0.3ms) DROP TABLE "knowledge_base_categories" SQL (0.1ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20140303102920'  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (1.1ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303102920"]]  (2.2ms) commit transaction Migrating to CreateKnowledgeBaseArticles (20140303152945)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303152945"]]  (0.6ms) commit transaction Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140305134249"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306103853"]]  (0.6ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306123236"]]  (0.7ms) commit transaction Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "knowledge_base_sections" ADD "article_id" integer  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134124"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to RemoveKindFromSections (20140306134616)  (0.1ms) begin transaction  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to RemoveKindFromSections (20140306134616)  (0.1ms) begin transaction  (1.5ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime, "article_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.4ms) DROP TABLE "knowledge_base_sections"  (0.1ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.2ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id")  (0.1ms) SELECT * FROM "aknowledge_base_sections"  (0.4ms) DROP TABLE "aknowledge_base_sections" SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134616"]]  (2.1ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (2.7ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.7ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (3.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'voluptassitut' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 13:47:00.619292"], ["description", "Minus et sint voluptates laborum ut dolorem."], ["slug", "voluptassitut"], ["title", "voluptassitut"], ["updated_at", "2014-03-06 13:47:00.619292"]]  (2.6ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'quaeratitaquequasi' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 13:47:00.641664"], ["description", "Maiores eum nihil modi cupiditate quia fugit et."], ["slug", "quaeratitaquequasi"], ["title", "quaeratitaquequasi"], ["updated_at", "2014-03-06 13:47:00.641664"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Necessitatibus quia ut doloribus deserunt ad provident tenetur. Consequatur vel cumque fugiat. Molestiae voluptatum et est quisquam accusamus. Ab eaque tenetur accusantium deleniti provident quae. Quam unde ut."], ["created_at", "2014-03-06 13:47:00.650528"], ["heading", "voluptatespariaturqui"], ["lead", "Optio quae tempore nemo ad labore."], ["updated_at", "2014-03-06 13:47:00.650528"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sections" ("article_id", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 1], ["created_at", "2014-03-06 13:47:00.657036"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 13:47:00.657036"]]  (0.8ms) commit transaction  (2.5ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 13:47:24.842394"], ["description", "Pariatur sint similique fugit ea laborum commodi tempora excepturi."], ["slug", "ipsaveleum"], ["title", "ipsaveleum"], ["updated_at", "2014-03-06 13:47:24.842394"]]  (1.9ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'voluptatibuseamolestiae' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 13:47:24.864358"], ["description", "Fugit officiis totam repudiandae quam ut."], ["slug", "voluptatibuseamolestiae"], ["title", "voluptatibuseamolestiae"], ["updated_at", "2014-03-06 13:47:24.864358"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Asperiores et dignissimos. Non nostrum et. Modi tempora qui aliquam. Consequatur rerum cum quibusdam eum eius corrupti."], ["created_at", "2014-03-06 13:47:24.873169"], ["heading", "molestiaeeoset"], ["lead", "Fugit dolore minima pariatur officia minus fugiat quae quaerat."], ["updated_at", "2014-03-06 13:47:24.873169"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sections" ("article_id", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?) [["article_id", 1], ["created_at", "2014-03-06 13:47:24.879736"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 13:47:24.879736"]]  (0.9ms) commit transaction Started GET "/knowledge_base/categories/esteaid/articles/eadelenitineque" for 127.0.0.1 at 2014-03-06 14:47:28 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"esteaid", "id"=>"eadelenitineque"} KnowledgeBase::Category Load (0.1ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'esteaid' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 Completed 404 Not Found in 5ms ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound): friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:23:in `find' /Users/jgorset/code/ruby/knowledge_base/app/controllers/knowledge_base/articles_controller.rb:14:in `set_category' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:424:in `block in make_lambda' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.0ms) Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 14:47:32 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (6.6ms) Completed 200 OK in 10ms (Views: 9.8ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:47:32 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:47:32 +0100 Started GET "/knowledge_base/categories/ipsaveleum" for 127.0.0.1 at 2014-03-06 14:47:33 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"ipsaveleum"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (13.6ms) Completed 200 OK in 18ms (Views: 16.1ms | ActiveRecord: 0.9ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:47:34 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:47:34 +0100 Started GET "/knowledge_base/categories/ipsaveleum/articles/voluptatibuseamolestiae" for 127.0.0.1 at 2014-03-06 14:47:34 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsaveleum", "id"=>"voluptatibuseamolestiae"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatibuseamolestiae' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.1ms) Completed 200 OK in 7ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:47:34 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:47:34 +0100 Started GET "/knowledge_base/categories/ipsaveleum/articles/voluptatibuseamolestiae" for 127.0.0.1 at 2014-03-06 14:47:36 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsaveleum", "id"=>"voluptatibuseamolestiae"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatibuseamolestiae' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.2ms) Completed 200 OK in 6ms (Views: 3.2ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:47:36 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:47:36 +0100 Started GET "/knowledge_base/categories/ipsaveleum" for 127.0.0.1 at 2014-03-06 14:47:52 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"ipsaveleum"} KnowledgeBase::Category Load (0.3ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (3.6ms) Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:47:52 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:47:52 +0100 Started GET "/knowledge_base/categories/ipsaveleum" for 127.0.0.1 at 2014-03-06 14:47:53 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"ipsaveleum"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (1.4ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:47:53 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:47:53 +0100 Started GET "/knowledge_base/categories/ipsaveleum/articles/voluptatibuseamolestiae" for 127.0.0.1 at 2014-03-06 14:47:53 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsaveleum", "id"=>"voluptatibuseamolestiae"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatibuseamolestiae' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.1ms) Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:47:53 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:47:53 +0100 Started GET "/knowledge_base/categories/ipsaveleum/articles/voluptatibuseamolestiae" for 127.0.0.1 at 2014-03-06 14:48:03 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsaveleum", "id"=>"voluptatibuseamolestiae"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatibuseamolestiae' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (1.3ms) Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:48:03 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:48:03 +0100 Started GET "/knowledge_base/categories/ipsaveleum/articles/voluptatibuseamolestiae" for 127.0.0.1 at 2014-03-06 14:48:04 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsaveleum", "id"=>"voluptatibuseamolestiae"} KnowledgeBase::Category Load (0.3ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatibuseamolestiae' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (0.9ms) Completed 200 OK in 8ms (Views: 3.8ms | ActiveRecord: 0.5ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:48:04 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:48:04 +0100 Started GET "/knowledge_base/categories/ipsaveleum/articles/voluptatibuseamolestiae" for 127.0.0.1 at 2014-03-06 14:48:07 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsaveleum", "id"=>"voluptatibuseamolestiae"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatibuseamolestiae' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (1.5ms) Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 14:48:07 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 14:48:07 +0100 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? ORDER BY "knowledge_base_sections"."id" ASC LIMIT 1 [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? ORDER BY "knowledge_base_sections"."id" ASC LIMIT 1 [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]]  (0.2ms) SELECT COUNT(*) FROM "knowledge_base_sections" KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" ORDER BY "knowledge_base_sections"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" ORDER BY "knowledge_base_sections"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1  (0.1ms) SELECT COUNT(*) FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."sectionable_id" = ? AND "knowledge_base_sections"."sectionable_type" = ? [["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Article"]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" ORDER BY "knowledge_base_sections"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to PolymorphizeSections (20140306162143)  (0.1ms) begin transaction  (1.3ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.5ms) SELECT * FROM "knowledge_base_sections"  (0.1ms) INSERT INTO "aknowledge_base_sections" ("id","sectionable_id","sectionable_type","position","created_at","updated_at","article_id") VALUES (1, 1, 'KnowledgeBase::Sectionables::Text', NULL, '2014-03-06 13:47:24.879736', '2014-03-06 13:47:24.879736', 1)  (1.2ms) DROP TABLE "knowledge_base_sections"  (0.1ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "aknowledge_base_sections"  (0.1ms) INSERT INTO "knowledge_base_sections" ("id","sectionable_id","sectionable_type","position","created_at","updated_at") VALUES (1, 1, 'KnowledgeBase::Sectionables::Text', NULL, '2014-03-06 13:47:24.879736', '2014-03-06 13:47:24.879736')  (0.4ms) DROP TABLE "aknowledge_base_sections"  (0.1ms) ALTER TABLE "knowledge_base_sections" ADD "container_id" integer  (0.2ms) ALTER TABLE "knowledge_base_sections" ADD "container_type" varchar(255)  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to PolymorphizeSections (20140306162143)  (0.1ms) begin transaction  (1.4ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.2ms) INSERT INTO "aknowledge_base_sections" ("id","sectionable_id","sectionable_type","position","created_at","updated_at","article_id") VALUES (1, 1, 'KnowledgeBase::Sectionables::Text', NULL, '2014-03-06 13:47:24.879736', '2014-03-06 13:47:24.879736', 1)  (0.7ms) DROP TABLE "knowledge_base_sections"  (0.2ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "aknowledge_base_sections"  (0.1ms) INSERT INTO "knowledge_base_sections" ("id","sectionable_id","sectionable_type","position","created_at","updated_at") VALUES (1, 1, 'KnowledgeBase::Sectionables::Text', NULL, '2014-03-06 13:47:24.879736', '2014-03-06 13:47:24.879736')  (0.5ms) DROP TABLE "aknowledge_base_sections"  (0.1ms) ALTER TABLE "knowledge_base_sections" ADD "container_id" integer  (0.2ms) ALTER TABLE "knowledge_base_sections" ADD "container_type" varchar(255)  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type") SQL (0.7ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306162143"]]  (1.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (1.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140306162143')  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (2.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 16:26:12.384391"], ["description", "Placeat magni odit doloribus ratione quas."], ["slug", "etrationeipsam"], ["title", "etrationeipsam"], ["updated_at", "2014-03-06 16:26:12.384391"]]  (0.8ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 16:26:12.405133"], ["description", "Omnis minus vitae pariatur excepturi."], ["slug", "doloremquefugitreprehenderit"], ["title", "doloremquefugitreprehenderit"], ["updated_at", "2014-03-06 16:26:12.405133"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Doloremque sunt vel mollitia et ad nam itaque. Harum perspiciatis neque sed aut hic. Aut et voluptas illo sapiente repellendus et ducimus."], ["created_at", "2014-03-06 16:26:12.414534"], ["heading", "utautquidem"], ["lead", "Ad maiores molestiae pariatur vel dolores aut dolorum excepturi."], ["updated_at", "2014-03-06 16:26:12.414534"]]  (2.4ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 16:26:12.422534"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 16:26:12.422534"]]  (0.9ms) commit transaction KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" ORDER BY "knowledge_base_sections"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" ORDER BY "knowledge_base_sections"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" ORDER BY "knowledge_base_sections"."id" ASC LIMIT 1 KnowledgeBase::Sectionables::Text Load (0.2ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Started GET "/knowledge_base/categories/ipsaveleum/articles/voluptatibuseamolestiae" for 127.0.0.1 at 2014-03-06 17:26:55 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsaveleum", "id"=>"voluptatibuseamolestiae"} KnowledgeBase::Category Load (0.1ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsaveleum' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 Completed 404 Not Found in 6ms ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound): friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:23:in `find' /Users/jgorset/code/ruby/knowledge_base/app/controllers/knowledge_base/articles_controller.rb:14:in `set_category' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:424:in `block in make_lambda' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.6ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (16.7ms) Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 17:27:00 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (8.4ms) Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 17:27:00 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 17:27:00 +0100 Started GET "/knowledge_base/categories/etrationeipsam" for 127.0.0.1 at 2014-03-06 17:27:02 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"etrationeipsam"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (46.2ms) Completed 200 OK in 51ms (Views: 49.3ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 17:27:02 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 17:27:02 +0100 Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 17:27:02 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (5.1ms) Completed 200 OK in 11ms (Views: 8.1ms | ActiveRecord: 0.8ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 17:27:02 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 17:27:02 +0100 Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 17:27:12 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.3ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.4ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (10.4ms) Completed 500 Internal Server Error in 18ms ActionView::Template::Error (Missing partial knowledge_base/sections/_section with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/jgorset/code/ruby/knowledge_base/spec/dummy/app/views" * "/Users/jgorset/code/ruby/knowledge_base/app/views" ): 4: <%= simple_format @article.description %> 5: 6: <% @article.sections.each do |section| %> 7: <%= render section %> 8: <% end %> 9:
actionview (4.1.0.rc1) lib/action_view/path_set.rb:46:in `find' actionview (4.1.0.rc1) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:383:in `find_template' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:377:in `find_partial' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:263:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0.rc1) lib/action_view/helpers/rendering_helper.rb:34:in `render' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:7:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb__2109561993523937544_70347973915700' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb__2109561993523937544_70347973915700' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (10.4ms) Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 17:27:29 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (14.7ms) Completed 500 Internal Server Error in 21ms ActionView::Template::Error (Missing partial knowledge_base/sectionables/texts/_text with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/jgorset/code/ruby/knowledge_base/spec/dummy/app/views" * "/Users/jgorset/code/ruby/knowledge_base/app/views" ): 4: <%= simple_format @article.description %> 5: 6: <% @article.sections.each do |section| %> 7: <%= render section.sectionable %> 8: <% end %> 9:
actionview (4.1.0.rc1) lib/action_view/path_set.rb:46:in `find' actionview (4.1.0.rc1) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:383:in `find_template' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:377:in `find_partial' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:263:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0.rc1) lib/action_view/helpers/rendering_helper.rb:34:in `render' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:7:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb__2109561993523937544_70347980314900' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb__2109561993523937544_70347980314900' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.2ms) Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 17:28:41 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.5ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (2.8ms) Completed 200 OK in 9ms (Views: 5.7ms | ActiveRecord: 0.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 17:28:41 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 17:28:41 +0100 Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 17:28:58 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.5ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.6ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (3.8ms) Completed 200 OK in 13ms (Views: 7.4ms | ActiveRecord: 0.9ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 17:28:58 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 17:28:58 +0100  (0.9ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (1.0ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (1.1ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (1.0ms) 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 ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (1.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.6ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (2.8ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (1.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'numquamatqueporro' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 18:01:24.996917"], ["description", "Qui explicabo dolorem sit sint rerum qui fugit."], ["slug", "numquamatqueporro"], ["title", "numquamatqueporro"], ["updated_at", "2014-03-06 18:01:24.996917"]]  (0.8ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'utexcepturiprovident' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 18:01:25.018662"], ["description", "Enim itaque iusto doloribus tenetur eum ea vel."], ["slug", "utexcepturiprovident"], ["title", "utexcepturiprovident"], ["updated_at", "2014-03-06 18:01:25.018662"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Omnis tenetur sint officiis. Magnam ullam odio. Iure cumque consequatur nostrum quia cum recusandae."], ["created_at", "2014-03-06 18:01:25.027823"], ["heading", "ipsasunterror"], ["lead", "Non est iure voluptas aut numquam delectus aspernatur similique."], ["updated_at", "2014-03-06 18:01:25.027823"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 18:01:25.033438"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 18:01:25.033438"]]  (0.8ms) commit transaction  (2.7ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 18:01:49.438727"], ["description", "Cupiditate eius asperiores ducimus quibusdam dolorem vitae earum animi."], ["slug", "sedcorruptiad"], ["title", "sedcorruptiad"], ["updated_at", "2014-03-06 18:01:49.438727"]]  (2.4ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'temporefaciliset' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 18:01:49.461717"], ["description", "Molestias quae autem et consequatur et modi dignissimos alias."], ["slug", "temporefaciliset"], ["title", "temporefaciliset"], ["updated_at", "2014-03-06 18:01:49.461717"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Voluptatibus debitis quisquam qui. Veritatis odio cum ut ullam explicabo rem. Mollitia sit voluptatem itaque sapiente aperiam quis. Quasi est aut aut excepturi sapiente."], ["created_at", "2014-03-06 18:01:49.470165"], ["heading", "quopraesentiumfuga"], ["lead", "Assumenda et enim qui soluta."], ["updated_at", "2014-03-06 18:01:49.470165"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 18:01:49.475139"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 18:01:49.475139"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Accusantium quod mollitia fugit voluptas numquam quibusdam."], ["created_at", "2014-03-06 18:01:49.491165"], ["image", "parrot.png"], ["updated_at", "2014-03-06 18:01:49.491165"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 18:01:49.494922"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 18:01:49.494922"]]  (0.7ms) commit transaction Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 19:01:58 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.7ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (3.4ms) Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 0.9ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:01:58 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:01:58 +0100 Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 19:02:02 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (1.2ms) Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:02:02 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:02:02 +0100 Started GET "/knowledge_base/categories/etrationeipsam" for 127.0.0.1 at 2014-03-06 19:02:03 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"etrationeipsam"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (1.7ms) Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:02:03 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:02:03 +0100 Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 19:02:04 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (2.4ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:02:04 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:02:04 +0100 Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 19:02:30 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (2.4ms) Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:02:31 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:02:31 +0100 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1  (0.2ms) SELECT COUNT(*) FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 19:03:07 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (2.5ms) Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:03:07 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:03:07 +0100 Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 19:03:18 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (3.2ms) Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:03:18 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:03:18 +0100 Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 19:03:22 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'doloremquefugitreprehenderit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (3.1ms) Completed 200 OK in 9ms (Views: 6.0ms | ActiveRecord: 0.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:03:22 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:03:22 +0100 Started GET "/knowledge_base/categories/etrationeipsam/articles/doloremquefugitreprehenderit" for 127.0.0.1 at 2014-03-06 19:03:27 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"etrationeipsam", "id"=>"doloremquefugitreprehenderit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etrationeipsam' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 Completed 404 Not Found in 54ms ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound): friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:23:in `find' /Users/jgorset/code/ruby/knowledge_base/app/controllers/knowledge_base/articles_controller.rb:14:in `set_category' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:424:in `block in make_lambda' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (15.4ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (30.7ms) Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 19:03:30 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (9.7ms) Completed 200 OK in 21ms (Views: 20.5ms | ActiveRecord: 0.2ms) Started GET "/knowledge_base/categories/sedcorruptiad" for 127.0.0.1 at 2014-03-06 19:03:31 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"sedcorruptiad"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (17.4ms) Completed 200 OK in 22ms (Views: 20.3ms | ActiveRecord: 0.6ms) Started GET "/knowledge_base/categories/sedcorruptiad/articles/temporefaciliset" for 127.0.0.1 at 2014-03-06 19:03:32 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"sedcorruptiad", "id"=>"temporefaciliset"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'temporefaciliset' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.6ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (54.9ms) Completed 500 Internal Server Error in 60ms ActionView::Template::Error (Missing partial knowledge_base/sectionables/images/_image with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/jgorset/code/ruby/knowledge_base/spec/dummy/app/views" * "/Users/jgorset/code/ruby/knowledge_base/app/views" ): 4: <%= simple_format @article.description %> 5: 6: <% @article.sections.each do |section| %> 7: <%= render section.sectionable %> 8: <% end %> 9: actionview (4.1.0.rc1) lib/action_view/path_set.rb:46:in `find' actionview (4.1.0.rc1) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:383:in `find_template' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:377:in `find_partial' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:263:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0.rc1) lib/action_view/helpers/rendering_helper.rb:34:in `render' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:7:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3364664109270491429_70176782996300' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3364664109270491429_70176782996300' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (8.9ms) Started GET "/knowledge_base/categories/sedcorruptiad/articles/temporefaciliset" for 127.0.0.1 at 2014-03-06 19:09:36 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"sedcorruptiad", "id"=>"temporefaciliset"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'temporefaciliset' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.8ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (4.3ms) Completed 200 OK in 10ms (Views: 7.2ms | ActiveRecord: 0.5ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:09:36 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:09:36 +0100 Started GET "/knowledge_base/categories/sedcorruptiad/articles/temporefaciliset" for 127.0.0.1 at 2014-03-06 19:10:24 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"sedcorruptiad", "id"=>"temporefaciliset"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'temporefaciliset' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.8ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (5.0ms) Completed 200 OK in 11ms (Views: 7.8ms | ActiveRecord: 0.5ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:10:24 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:10:24 +0100 Started GET "/knowledge_base/categories/sedcorruptiad/articles/temporefaciliset" for 127.0.0.1 at 2014-03-06 19:11:17 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"sedcorruptiad", "id"=>"temporefaciliset"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'temporefaciliset' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (3.0ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `demodulerize' for "KnowledgeBase::Sectionables::Text":String): 4: <%= simple_format @article.description %> 5: 6: <% @article.sections.each do |section| %> 7:
8: <%= render section.sectionable %> 9:
10: <% end %> /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:7:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3364664109270491429_70176780683460' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3364664109270491429_70176780683460' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (8.9ms) Started GET "/knowledge_base/categories/sedcorruptiad/articles/temporefaciliset" for 127.0.0.1 at 2014-03-06 19:11:18 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"sedcorruptiad", "id"=>"temporefaciliset"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'temporefaciliset' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (2.5ms) Completed 500 Internal Server Error in 7ms ActionView::Template::Error (undefined method `demodulerize' for "KnowledgeBase::Sectionables::Text":String): 4: <%= simple_format @article.description %> 5: 6: <% @article.sections.each do |section| %> 7:
8: <%= render section.sectionable %> 9:
10: <% end %> /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:7:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3364664109270491429_70176780683460' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3364664109270491429_70176780683460' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.2ms) Started GET "/knowledge_base/categories/sedcorruptiad/articles/temporefaciliset" for 127.0.0.1 at 2014-03-06 19:11:28 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"sedcorruptiad", "id"=>"temporefaciliset"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'temporefaciliset' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.2ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (5.3ms) Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.6ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:11:28 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:11:28 +0100 Started GET "/knowledge_base/categories/sedcorruptiad/articles/temporefaciliset" for 127.0.0.1 at 2014-03-06 19:11:36 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"sedcorruptiad", "id"=>"temporefaciliset"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'temporefaciliset' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.2ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.7ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (7.2ms) Completed 200 OK in 15ms (Views: 10.9ms | ActiveRecord: 0.7ms)  (1.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (1.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.6ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) 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 ('20140306162143')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (2.6ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.9ms) 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 ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSectionablesVideos (20140306181906)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306181906"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (2.4ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (1.9ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (2.7ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (2.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.6ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'autlaboriosamminima' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 18:51:58.522753"], ["description", "Sint et ea tenetur quaerat sint quia dicta similique."], ["slug", "autlaboriosamminima"], ["title", "autlaboriosamminima"], ["updated_at", "2014-03-06 18:51:58.522753"]]  (2.1ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'utsequiquia' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 18:51:58.542559"], ["description", "Sit fugiat molestiae et aut minus recusandae qui."], ["slug", "utsequiquia"], ["title", "utsequiquia"], ["updated_at", "2014-03-06 18:51:58.542559"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Qui sed porro architecto. Quia eos dolorum. Eaque velit molestias sit. Quo fugiat qui dicta. Voluptas voluptatem dolorem ea neque molestiae distinctio culpa."], ["created_at", "2014-03-06 18:51:58.551398"], ["heading", "nostrumutexplicabo"], ["lead", "Blanditiis minus officia qui nulla doloremque quo qui animi."], ["updated_at", "2014-03-06 18:51:58.551398"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 18:51:58.557128"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 18:51:58.557128"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Consequatur optio sed qui et."], ["created_at", "2014-03-06 18:51:58.575283"], ["image", "parrot.png"], ["updated_at", "2014-03-06 18:51:58.575283"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 18:51:58.578712"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 18:51:58.578712"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 18:51:58.584604"], ["updated_at", "2014-03-06 18:51:58.584604"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 18:51:58.586896"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 18:51:58.586896"]]  (0.8ms) commit transaction Started GET "/knowledge_base/categories/sedcorruptiad/articles/temporefaciliset" for 127.0.0.1 at 2014-03-06 19:54:23 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"sedcorruptiad", "id"=>"temporefaciliset"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedcorruptiad' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 Completed 404 Not Found in 29ms ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound): friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:23:in `find' /Users/jgorset/code/ruby/knowledge_base/app/controllers/knowledge_base/articles_controller.rb:14:in `set_category' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:424:in `block in make_lambda' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.7ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.0ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (31.4ms) Started GET "/knowledge_base/" for 127.0.0.1 at 2014-03-06 19:54:28 +0100 ActionController::RoutingError (No route matches [GET] "/knowledge_base"): actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.0ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (29.4ms) Started GET "/knowledge_base/categories" for 127.0.0.1 at 2014-03-06 19:54:30 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (10.6ms) Completed 200 OK in 22ms (Views: 21.9ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:54:30 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:54:30 +0100 Started GET "/knowledge_base/categories/autlaboriosamminima" for 127.0.0.1 at 2014-03-06 19:54:47 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"autlaboriosamminima"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'autlaboriosamminima' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (18.6ms) Completed 200 OK in 23ms (Views: 21.1ms | ActiveRecord: 0.6ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:54:47 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:54:47 +0100 Started GET "/knowledge_base/categories/autlaboriosamminima/articles/utsequiquia" for 127.0.0.1 at 2014-03-06 19:54:47 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"autlaboriosamminima", "id"=>"utsequiquia"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'autlaboriosamminima' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'utsequiquia' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.9ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.8ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (36.6ms) Completed 500 Internal Server Error in 43ms ActionView::Template::Error (Missing partial knowledge_base/sectionables/videos/_video with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/jgorset/code/ruby/knowledge_base/spec/dummy/app/views" * "/Users/jgorset/code/ruby/knowledge_base/app/views" ): 5: 6: <% @article.sections.each do |section| %> 7:
8: <%= render section.sectionable %> 9:
10: <% end %> 11: actionview (4.1.0.rc1) lib/action_view/path_set.rb:46:in `find' actionview (4.1.0.rc1) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:383:in `find_template' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:377:in `find_partial' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:263:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0.rc1) lib/action_view/helpers/rendering_helper.rb:34:in `render' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:8:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3792140399814848920_70110199574120' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3792140399814848920_70110199574120' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.4ms) Started GET "/knowledge_base/categories/autlaboriosamminima/articles/utsequiquia" for 127.0.0.1 at 2014-03-06 19:55:25 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"autlaboriosamminima", "id"=>"utsequiquia"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'autlaboriosamminima' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'utsequiquia' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.4ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (6.0ms) Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.5ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 19:55:25 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 19:55:25 +0100 Started GET "/knowledge_base/categories/autlaboriosamminima/articles/utsequiquia" for 127.0.0.1 at 2014-03-06 20:32:19 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"autlaboriosamminima", "id"=>"utsequiquia"} KnowledgeBase::Category Load (0.4ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'autlaboriosamminima' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'utsequiquia' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.2ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.5ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (3.9ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (12.2ms) Completed 200 OK in 22ms (Views: 16.7ms | ActiveRecord: 1.0ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:32:19 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:32:19 +0100 Started GET "/knowledge_base/categories/autlaboriosamminima/articles/utsequiquia" for 127.0.0.1 at 2014-03-06 20:35:30 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"autlaboriosamminima", "id"=>"utsequiquia"} KnowledgeBase::Category Load (0.6ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'autlaboriosamminima' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'utsequiquia' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.3ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.5ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.4ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (8.0ms) Completed 200 OK in 15ms (Views: 11.0ms | ActiveRecord: 1.0ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:35:31 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:35:31 +0100 ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSectionablesGalleries (20140306194339)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306194339"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesGalleryImages (20140306194600)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.4ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306194600"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (1.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'quiaaccusantiumfugiat' LIMIT 1 SQL (0.5ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 19:49:25.662749"], ["description", "Atque reprehenderit dolorum aliquam nihil beatae enim."], ["slug", "quiaaccusantiumfugiat"], ["title", "quiaaccusantiumfugiat"], ["updated_at", "2014-03-06 19:49:25.662749"]]  (0.7ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'repellendusvoluptatesratione' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 19:49:25.683229"], ["description", "Culpa consectetur sit quo aliquam aut numquam."], ["slug", "repellendusvoluptatesratione"], ["title", "repellendusvoluptatesratione"], ["updated_at", "2014-03-06 19:49:25.683229"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Maxime consequatur praesentium error. Iste est sed nesciunt eum amet. Qui asperiores at quibusdam hic perferendis."], ["created_at", "2014-03-06 19:49:25.693746"], ["heading", "asperioressolutaimpedit"], ["lead", "Fugiat distinctio vel quis sapiente maiores."], ["updated_at", "2014-03-06 19:49:25.693746"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:49:25.699787"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 19:49:25.699787"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Iure qui consectetur porro ea accusamus suscipit ipsam pariatur."], ["created_at", "2014-03-06 19:49:25.716407"], ["image", "parrot.png"], ["updated_at", "2014-03-06 19:49:25.716407"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:49:25.719860"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 19:49:25.719860"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 19:49:25.726208"], ["updated_at", "2014-03-06 19:49:25.726208"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:49:25.728505"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 19:49:25.728505"]]  (0.8ms) commit transaction  (2.4ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'accusantiumconsequaturrepellendus' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 19:50:28.922838"], ["description", "Veritatis necessitatibus omnis aliquam voluptatem."], ["slug", "accusantiumconsequaturrepellendus"], ["title", "accusantiumconsequaturrepellendus"], ["updated_at", "2014-03-06 19:50:28.922838"]]  (2.3ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'rationeipsamaut' LIMIT 1 SQL (0.5ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 19:50:28.942744"], ["description", "Tempore eum maiores fuga sit ipsum."], ["slug", "rationeipsamaut"], ["title", "rationeipsamaut"], ["updated_at", "2014-03-06 19:50:28.942744"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Laborum cupiditate sint expedita in. Earum porro dolores. Qui voluptatem non fugiat asperiores voluptates. Quisquam aut sed beatae et delectus ratione nihil. Quaerat minima repellendus."], ["created_at", "2014-03-06 19:50:28.952469"], ["heading", "sintomnisut"], ["lead", "Quia sunt ut fuga non suscipit ipsum animi."], ["updated_at", "2014-03-06 19:50:28.952469"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:50:28.958348"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 19:50:28.958348"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Tempore illum ducimus molestias et eos in dolorem."], ["created_at", "2014-03-06 19:50:28.973868"], ["image", "parrot.png"], ["updated_at", "2014-03-06 19:50:28.973868"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:50:28.977355"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 19:50:28.977355"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 19:50:28.983612"], ["updated_at", "2014-03-06 19:50:28.983612"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:50:28.986339"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 19:50:28.986339"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 19:50:28.993999"], ["description", "Ea voluptatibus rerum voluptas sint ad."], ["title", "Voluptatem rerum laudantium voluptas assumenda fugiat et facilis sed."], ["updated_at", "2014-03-06 19:50:28.993999"]]  (0.7ms) commit transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (2.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.2ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.6ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'iureautemaut' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 19:50:52.228310"], ["description", "Beatae quisquam nisi sit voluptatibus."], ["slug", "iureautemaut"], ["title", "iureautemaut"], ["updated_at", "2014-03-06 19:50:52.228310"]]  (2.1ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'quasiexcepturiofficia' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 19:50:52.247831"], ["description", "Et est sed minima aut et voluptas in corporis."], ["slug", "quasiexcepturiofficia"], ["title", "quasiexcepturiofficia"], ["updated_at", "2014-03-06 19:50:52.247831"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Quo neque et eos. Molestias quisquam illo dolorum sit hic dicta facere. Veritatis rerum vero quas nihil voluptas sunt est. Exercitationem qui est nihil pariatur rerum."], ["created_at", "2014-03-06 19:50:52.256830"], ["heading", "eligendiexpeditaipsum"], ["lead", "Ut vero magnam dicta suscipit quaerat reiciendis exercitationem."], ["updated_at", "2014-03-06 19:50:52.256830"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:50:52.262185"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 19:50:52.262185"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Dolore magni asperiores vero."], ["created_at", "2014-03-06 19:50:52.278651"], ["image", "parrot.png"], ["updated_at", "2014-03-06 19:50:52.278651"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:50:52.282215"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 19:50:52.282215"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 19:50:52.288149"], ["updated_at", "2014-03-06 19:50:52.288149"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:50:52.290426"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 19:50:52.290426"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 19:50:52.297922"], ["description", "Atque in officiis quia ut sed voluptatem."], ["title", "Explicabo est esse ullam aperiam autem magnam aspernatur."], ["updated_at", "2014-03-06 19:50:52.297922"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Natus consectetur voluptas et pariatur velit delectus corrupti dolor."], ["created_at", "2014-03-06 19:50:52.349160"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 19:50:52.349160"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:50:52.353100"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-06 19:50:52.353100"]]  (0.8ms) commit transaction Started GET "/knowledge_base/categories/autlaboriosamminima/articles/utsequiquia" for 127.0.0.1 at 2014-03-06 20:51:10 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"autlaboriosamminima", "id"=>"utsequiquia"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'autlaboriosamminima' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 Completed 404 Not Found in 54ms ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound): friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:23:in `find' /Users/jgorset/code/ruby/knowledge_base/app/controllers/knowledge_base/articles_controller.rb:14:in `set_category' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:424:in `block in make_lambda' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.5ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (32.8ms) Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 20:51:13 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (10.8ms) Completed 200 OK in 23ms (Views: 22.2ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:51:13 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:51:13 +0100 Started GET "/knowledge_base/categories/iureautemaut" for 127.0.0.1 at 2014-03-06 20:51:14 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"iureautemaut"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'iureautemaut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (47.5ms) Completed 200 OK in 52ms (Views: 50.0ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:51:14 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:51:14 +0100 Started GET "/knowledge_base/categories/iureautemaut/articles/quasiexcepturiofficia" for 127.0.0.1 at 2014-03-06 20:51:15 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"iureautemaut", "id"=>"quasiexcepturiofficia"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'iureautemaut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'quasiexcepturiofficia' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.7ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.9ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.6ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (44.8ms) Completed 500 Internal Server Error in 50ms ActionView::Template::Error (Missing partial knowledge_base/sectionables/galleries/_gallery with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/jgorset/code/ruby/knowledge_base/spec/dummy/app/views" * "/Users/jgorset/code/ruby/knowledge_base/app/views" ): 5: 6: <% @article.sections.each do |section| %> 7:
8: <%= render section.sectionable %> 9:
10: <% end %> 11: actionview (4.1.0.rc1) lib/action_view/path_set.rb:46:in `find' actionview (4.1.0.rc1) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:383:in `find_template' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:377:in `find_partial' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:263:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0.rc1) lib/action_view/helpers/rendering_helper.rb:34:in `render' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:8:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3139800515910370344_70308202097620' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___3139800515910370344_70308202097620' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.4ms) Started GET "/knowledge_base/categories/iureautemaut/articles/quasiexcepturiofficia" for 127.0.0.1 at 2014-03-06 20:53:24 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"iureautemaut", "id"=>"quasiexcepturiofficia"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'iureautemaut' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'quasiexcepturiofficia' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (10.3ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (17.8ms) Completed 200 OK in 23ms (Views: 20.1ms | ActiveRecord: 1.0ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:53:24 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:53:24 +0100  (1.1ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'consequaturnequequia' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 19:53:43.493260"], ["description", "Sint voluptas similique id."], ["slug", "consequaturnequequia"], ["title", "consequaturnequequia"], ["updated_at", "2014-03-06 19:53:43.493260"]]  (1.9ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'voluptatemofficiaquidem' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 19:53:43.511779"], ["description", "Quia eaque sapiente perferendis velit eligendi consequuntur cumque error."], ["slug", "voluptatemofficiaquidem"], ["title", "voluptatemofficiaquidem"], ["updated_at", "2014-03-06 19:53:43.511779"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Molestiae sed sunt magni neque sit. Quis rem non dolore. Est ut nostrum esse maxime adipisci exercitationem."], ["created_at", "2014-03-06 19:53:43.521117"], ["heading", "fugitetodio"], ["lead", "Consequuntur consequatur non et."], ["updated_at", "2014-03-06 19:53:43.521117"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:53:43.526391"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 19:53:43.526391"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Quidem vel deleniti qui qui quaerat."], ["created_at", "2014-03-06 19:53:43.542032"], ["image", "parrot.png"], ["updated_at", "2014-03-06 19:53:43.542032"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:53:43.545489"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 19:53:43.545489"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 19:53:43.551362"], ["updated_at", "2014-03-06 19:53:43.551362"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:53:43.553590"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 19:53:43.553590"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 19:53:43.561119"], ["description", "Et sequi fuga recusandae provident et velit atque."], ["title", "Magnam eveniet est distinctio sed nemo molestias officiis aliquam."], ["updated_at", "2014-03-06 19:53:43.561119"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Sed ut aut voluptatibus dolor voluptatem quo."], ["created_at", "2014-03-06 19:53:43.611265"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 19:53:43.611265"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Iure quia aspernatur nobis dolorem blanditiis officiis dolor aliquid."], ["created_at", "2014-03-06 19:53:43.617500"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 19:53:43.617500"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 19:53:43.621751"], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-06 19:53:43.621751"]]  (0.7ms) commit transaction Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 20:53:53 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (38.7ms) Completed 200 OK in 90ms (Views: 65.1ms | ActiveRecord: 1.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:53:54 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:53:54 +0100 Started GET "/knowledge_base/categories/consequaturnequequia" for 127.0.0.1 at 2014-03-06 20:53:55 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"consequaturnequequia"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'consequaturnequequia' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (18.1ms) Completed 200 OK in 25ms (Views: 20.7ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:53:55 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:53:55 +0100 Started GET "/knowledge_base/categories/consequaturnequequia/articles/voluptatemofficiaquidem" for 127.0.0.1 at 2014-03-06 20:53:55 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"consequaturnequequia", "id"=>"voluptatemofficiaquidem"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'consequaturnequequia' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatemofficiaquidem' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.7ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.8ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.4ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (10.2ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (81.5ms) Completed 200 OK in 88ms (Views: 82.5ms | ActiveRecord: 2.5ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:53:55 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:53:55 +0100 Started GET "/knowledge_base/categories/consequaturnequequia/articles/voluptatemofficiaquidem" for 127.0.0.1 at 2014-03-06 20:54:50 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"consequaturnequequia", "id"=>"voluptatemofficiaquidem"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'consequaturnequequia' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatemofficiaquidem' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (2.3ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (9.2ms) Completed 200 OK in 14ms (Views: 11.6ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:54:50 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:54:50 +0100 Started GET "/knowledge_base/categories/consequaturnequequia/articles/voluptatemofficiaquidem" for 127.0.0.1 at 2014-03-06 20:56:43 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"consequaturnequequia", "id"=>"voluptatemofficiaquidem"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'consequaturnequequia' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatemofficiaquidem' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (2.2ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (9.4ms) Completed 200 OK in 15ms (Views: 12.0ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:56:44 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:56:44 +0100 Started GET "/knowledge_base/categories/consequaturnequequia/articles/voluptatemofficiaquidem" for 127.0.0.1 at 2014-03-06 20:57:55 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"consequaturnequequia", "id"=>"voluptatemofficiaquidem"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'consequaturnequequia' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.3ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatemofficiaquidem' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.2ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.5ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (33.5ms) Completed 500 Internal Server Error in 49ms ActionView::Template::Error (Unknown key: :order. Valid keys are: :class_name, :class, :foreign_key, :validate, :autosave, :table_name, :before_add, :after_add, :before_remove, :after_remove, :extend, :primary_key, :dependent, :as, :through, :source, :source_type, :inverse_of, :counter_cache): 4: <%= simple_format @article.description %> 5: 6: <% @article.sections.each do |section| %> 7:
8: <%= render section.sectionable %> 9:
10: <% end %> activesupport (4.1.0.rc1) lib/active_support/core_ext/hash/keys.rb:71:in `block in assert_valid_keys' activesupport (4.1.0.rc1) lib/active_support/core_ext/hash/keys.rb:69:in `each_key' activesupport (4.1.0.rc1) lib/active_support/core_ext/hash/keys.rb:69:in `assert_valid_keys' activerecord (4.1.0.rc1) lib/active_record/associations/builder/association.rb:81:in `validate_options' activerecord (4.1.0.rc1) lib/active_record/associations/builder/association.rb:61:in `initialize' activerecord (4.1.0.rc1) lib/active_record/associations/builder/collection_association.rb:18:in `initialize' activerecord (4.1.0.rc1) lib/active_record/associations/builder/association.rb:46:in `new' activerecord (4.1.0.rc1) lib/active_record/associations/builder/association.rb:46:in `create_builder' activerecord (4.1.0.rc1) lib/active_record/associations/builder/association.rb:35:in `build' activerecord (4.1.0.rc1) lib/active_record/associations.rb:1203:in `has_many' /Users/jgorset/code/ruby/knowledge_base/app/models/knowledge_base/sectionables/gallery.rb:3:in `' /Users/jgorset/code/ruby/knowledge_base/app/models/knowledge_base/sectionables/gallery.rb:2:in `' /Users/jgorset/code/ruby/knowledge_base/app/models/knowledge_base/sectionables/gallery.rb:1:in `' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:443:in `load' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:443:in `block in load_file' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:633:in `new_constants_in' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:442:in `load_file' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:342:in `require_or_load' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:480:in `load_missing_constant' activesupport (4.1.0.rc1) lib/active_support/dependencies.rb:180:in `const_missing' activesupport (4.1.0.rc1) lib/active_support/inflector/methods.rb:240:in `const_get' activesupport (4.1.0.rc1) lib/active_support/inflector/methods.rb:240:in `block in constantize' activesupport (4.1.0.rc1) lib/active_support/inflector/methods.rb:236:in `each' activesupport (4.1.0.rc1) lib/active_support/inflector/methods.rb:236:in `inject' activesupport (4.1.0.rc1) lib/active_support/inflector/methods.rb:236:in `constantize' activesupport (4.1.0.rc1) lib/active_support/core_ext/string/inflections.rb:66:in `constantize' activerecord (4.1.0.rc1) lib/active_record/associations/belongs_to_polymorphic_association.rb:7:in `klass' activerecord (4.1.0.rc1) lib/active_record/associations/belongs_to_association.rb:37:in `find_target?' activerecord (4.1.0.rc1) lib/active_record/associations/association.rb:138:in `load_target' activerecord (4.1.0.rc1) lib/active_record/associations/association.rb:53:in `reload' activerecord (4.1.0.rc1) lib/active_record/associations/singular_association.rb:9:in `reader' activerecord (4.1.0.rc1) lib/active_record/associations/builder/association.rb:110:in `sectionable' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:7:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___1131910406882502987_70298475243900' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___1131910406882502987_70298475243900' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (30.5ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (40.6ms) Started GET "/knowledge_base/categories/consequaturnequequia/articles/voluptatemofficiaquidem" for 127.0.0.1 at 2014-03-06 20:58:37 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"consequaturnequequia", "id"=>"voluptatemofficiaquidem"} KnowledgeBase::Category Load (0.1ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'consequaturnequequia' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'voluptatemofficiaquidem' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.2ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.5ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.2ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (10.2ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (47.0ms) Completed 200 OK in 60ms (Views: 47.9ms | ActiveRecord: 3.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 20:58:37 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 20:58:37 +0100  (4.6ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'aliquamnihildolorem' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 20:01:00.351662"], ["description", "Nisi et aut sed doloremque."], ["slug", "aliquamnihildolorem"], ["title", "aliquamnihildolorem"], ["updated_at", "2014-03-06 20:01:00.351662"]]  (1.7ms) commit transaction  (2.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.2ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'eaaliquamnon' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 20:01:38.592626"], ["description", "Cumque voluptas culpa et."], ["slug", "eaaliquamnon"], ["title", "eaaliquamnon"], ["updated_at", "2014-03-06 20:01:38.592626"]]  (2.3ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'accusamussimiliquererum' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 20:01:38.612034"], ["description", "Aut veritatis necessitatibus est ducimus saepe."], ["slug", "accusamussimiliquererum"], ["title", "accusamussimiliquererum"], ["updated_at", "2014-03-06 20:01:38.612034"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Cumque ut labore cupiditate quasi qui eos sapiente. Est cupiditate consequatur voluptatem qui. Inventore quia et veniam consectetur molestias aliquam cupiditate. Quia unde quo molestiae possimus."], ["created_at", "2014-03-06 20:01:38.621567"], ["heading", "commodiadipisciat"], ["lead", "Et qui laudantium vel."], ["updated_at", "2014-03-06 20:01:38.621567"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:01:38.631642"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 20:01:38.631642"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Nam quod sunt ratione repudiandae odio perferendis."], ["created_at", "2014-03-06 20:01:38.642747"], ["image", "parrot.png"], ["updated_at", "2014-03-06 20:01:38.642747"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:01:38.645885"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 20:01:38.645885"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 20:01:38.651914"], ["updated_at", "2014-03-06 20:01:38.651914"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:01:38.654496"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 20:01:38.654496"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 20:01:38.661898"], ["description", "Commodi culpa sit quia hic quis harum ut."], ["title", "Eos nihil nulla ducimus aut odit nostrum adipisci et."], ["updated_at", "2014-03-06 20:01:38.661898"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Sint alias cumque quidem quas exercitationem deserunt."], ["created_at", "2014-03-06 20:01:38.709914"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 20:01:38.709914"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Quod quas ad est."], ["created_at", "2014-03-06 20:01:38.715281"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 20:01:38.715281"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:01:38.718254"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-06 20:01:38.718254"]]  (0.8ms) commit transaction Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 21:01:49 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (37.6ms) Completed 200 OK in 90ms (Views: 64.6ms | ActiveRecord: 1.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:01:49 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:01:49 +0100 Started GET "/knowledge_base/categories/eaaliquamnon" for 127.0.0.1 at 2014-03-06 21:01:50 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"eaaliquamnon"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'eaaliquamnon' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (17.3ms) Completed 200 OK in 24ms (Views: 20.0ms | ActiveRecord: 0.6ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:01:50 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:01:50 +0100 Started GET "/knowledge_base/categories/eaaliquamnon/articles/accusamussimiliquererum" for 127.0.0.1 at 2014-03-06 21:01:51 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"eaaliquamnon", "id"=>"accusamussimiliquererum"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'eaaliquamnon' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'accusamussimiliquererum' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.6ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.8ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.4ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (11.3ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (80.5ms) Completed 200 OK in 86ms (Views: 81.3ms | ActiveRecord: 2.5ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:01:51 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:01:51 +0100  (0.9ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (1.1ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'hicetvoluptas' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 20:02:03.697713"], ["description", "Consequatur est deleniti velit eaque reprehenderit iure ipsa dicta."], ["slug", "hicetvoluptas"], ["title", "hicetvoluptas"], ["updated_at", "2014-03-06 20:02:03.697713"]]  (0.8ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'animiquivel' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 20:02:03.719725"], ["description", "Rerum autem id qui et."], ["slug", "animiquivel"], ["title", "animiquivel"], ["updated_at", "2014-03-06 20:02:03.719725"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Nulla alias officiis molestiae repellat. Non provident labore est sit et accusamus modi. Odio voluptatem cupiditate eum. Assumenda excepturi quisquam deleniti perferendis incidunt. Culpa enim est sit est itaque numquam."], ["created_at", "2014-03-06 20:02:03.731227"], ["heading", "fugaatnon"], ["lead", "Sed aut est cumque voluptas officia."], ["updated_at", "2014-03-06 20:02:03.731227"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:02:03.741479"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 20:02:03.741479"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Quia nesciunt omnis quae aut aut odit explicabo nobis."], ["created_at", "2014-03-06 20:02:03.752555"], ["image", "parrot.png"], ["updated_at", "2014-03-06 20:02:03.752555"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:02:03.756418"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 20:02:03.756418"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 20:02:03.762796"], ["updated_at", "2014-03-06 20:02:03.762796"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:02:03.765425"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 20:02:03.765425"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 20:02:03.772937"], ["description", "Debitis et laborum explicabo possimus nostrum ex."], ["title", "Sed aut blanditiis est consequatur molestiae illum culpa."], ["updated_at", "2014-03-06 20:02:03.772937"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Voluptatem et unde ipsa totam rerum."], ["created_at", "2014-03-06 20:02:03.820338"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 20:02:03.820338"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Voluptas quis perferendis rerum nihil."], ["created_at", "2014-03-06 20:02:03.825815"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 20:02:03.825815"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:02:03.828676"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-06 20:02:03.828676"]]  (0.7ms) commit transaction Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 21:02:07 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (11.6ms) Completed 200 OK in 88ms (Views: 37.8ms | ActiveRecord: 1.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:02:07 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:02:07 +0100 Started GET "/knowledge_base/categories/hicetvoluptas" for 127.0.0.1 at 2014-03-06 21:02:08 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"hicetvoluptas"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'hicetvoluptas' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (18.0ms) Completed 200 OK in 25ms (Views: 20.7ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:02:08 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:02:08 +0100 Started GET "/knowledge_base/categories/hicetvoluptas/articles/animiquivel" for 127.0.0.1 at 2014-03-06 21:02:08 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"hicetvoluptas", "id"=>"animiquivel"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'hicetvoluptas' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'animiquivel' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.6ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.9ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (10.2ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.4ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (80.9ms) Completed 200 OK in 88ms (Views: 81.9ms | ActiveRecord: 2.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:02:09 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:02:09 +0100  (1.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'facereutvoluptas' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 20:02:19.102975"], ["description", "Rerum optio saepe a."], ["slug", "facereutvoluptas"], ["title", "facereutvoluptas"], ["updated_at", "2014-03-06 20:02:19.102975"]]  (0.7ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'pariaturomnisoccaecati' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 20:02:19.124014"], ["description", "Quia porro modi molestiae voluptates laborum quis et dolor."], ["slug", "pariaturomnisoccaecati"], ["title", "pariaturomnisoccaecati"], ["updated_at", "2014-03-06 20:02:19.124014"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Accusantium natus esse voluptatum molestiae voluptatem modi. Cum impedit doloribus explicabo nobis et. Aperiam molestiae cum hic ut quis dolor labore. Tempora autem nostrum quam maxime sed reprehenderit magni."], ["created_at", "2014-03-06 20:02:19.132851"], ["heading", "nostrumetarchitecto"], ["lead", "Harum laborum doloremque at."], ["updated_at", "2014-03-06 20:02:19.132851"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:02:19.143776"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 20:02:19.143776"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Temporibus esse dolorem eius aut et."], ["created_at", "2014-03-06 20:02:19.154851"], ["image", "parrot.png"], ["updated_at", "2014-03-06 20:02:19.154851"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:02:19.159024"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 20:02:19.159024"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 20:02:19.167158"], ["updated_at", "2014-03-06 20:02:19.167158"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:02:19.169932"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 20:02:19.169932"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 20:02:19.179787"], ["description", "Omnis ea magni nulla omnis veniam suscipit corrupti."], ["title", "Ullam blanditiis eligendi enim doloremque error porro sit sint."], ["updated_at", "2014-03-06 20:02:19.179787"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.5ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Quibusdam aut molestias asperiores sunt iusto est laborum velit."], ["created_at", "2014-03-06 20:02:19.232972"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 20:02:19.232972"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Sit et est est."], ["created_at", "2014-03-06 20:02:19.240167"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 20:02:19.240167"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 20:02:19.243598"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-06 20:02:19.243598"]]  (0.6ms) commit transaction Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 21:02:21 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (13.1ms) Completed 200 OK in 88ms (Views: 38.7ms | ActiveRecord: 1.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:02:21 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:02:21 +0100 Started GET "/knowledge_base/categories/facereutvoluptas" for 127.0.0.1 at 2014-03-06 21:02:23 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"facereutvoluptas"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'facereutvoluptas' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (18.4ms) Completed 200 OK in 25ms (Views: 20.9ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:02:23 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:02:23 +0100 Started GET "/knowledge_base/categories/facereutvoluptas/articles/pariaturomnisoccaecati" for 127.0.0.1 at 2014-03-06 21:02:23 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"facereutvoluptas", "id"=>"pariaturomnisoccaecati"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'facereutvoluptas' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'pariaturomnisoccaecati' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.6ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.8ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.4ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (10.5ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (49.5ms) Completed 200 OK in 55ms (Views: 50.2ms | ActiveRecord: 2.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:02:23 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:02:23 +0100 Started GET "/knowledge_base/categories/facereutvoluptas/articles/pariaturomnisoccaecati" for 127.0.0.1 at 2014-03-06 21:03:23 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"facereutvoluptas", "id"=>"pariaturomnisoccaecati"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'facereutvoluptas' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'pariaturomnisoccaecati' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (1.6ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (8.6ms) Completed 200 OK in 14ms (Views: 11.1ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 21:03:23 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 21:03:24 +0100 ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSectionablesLists (20140306200631)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306200631"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesListItems (20140306210259)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306210259"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (3.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsalaboreeos' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 21:08:49.649296"], ["description", "Nisi libero quae sint quaerat dignissimos qui voluptas omnis."], ["slug", "ipsalaboreeos"], ["title", "ipsalaboreeos"], ["updated_at", "2014-03-06 21:08:49.649296"]]  (0.8ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'eiusnisirepellat' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 21:08:49.669770"], ["description", "Cumque veniam cupiditate est accusantium accusamus sit."], ["slug", "eiusnisirepellat"], ["title", "eiusnisirepellat"], ["updated_at", "2014-03-06 21:08:49.669770"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Et modi inventore corrupti sunt maiores. Qui repellendus vel dolorem repudiandae. Sed voluptatem exercitationem. Fugiat ipsa non excepturi consectetur eos. Doloremque quo porro rerum ratione ut."], ["created_at", "2014-03-06 21:08:49.680309"], ["heading", "istelaborumvoluptatem"], ["lead", "Eos vitae possimus nobis culpa dolores omnis omnis modi."], ["updated_at", "2014-03-06 21:08:49.680309"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 21:08:49.691112"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 21:08:49.691112"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Quia nulla eum nesciunt ut explicabo."], ["created_at", "2014-03-06 21:08:49.704810"], ["image", "parrot.png"], ["updated_at", "2014-03-06 21:08:49.704810"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 21:08:49.708200"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 21:08:49.708200"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 21:08:49.714560"], ["updated_at", "2014-03-06 21:08:49.714560"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 21:08:49.717004"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 21:08:49.717004"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 21:08:49.725278"], ["description", "Nam repellendus et corporis voluptatibus voluptates ratione sed pariatur."], ["title", "Possimus suscipit cum corporis deserunt inventore."], ["updated_at", "2014-03-06 21:08:49.725278"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Et necessitatibus doloremque inventore excepturi."], ["created_at", "2014-03-06 21:08:49.777212"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 21:08:49.777212"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Dolores cupiditate et occaecati iure et."], ["created_at", "2014-03-06 21:08:49.781973"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 21:08:49.781973"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 21:08:49.784928"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-06 21:08:49.784928"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_lists" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 21:08:49.793133"], ["description", "Deleniti quidem provident optio quisquam veritatis maiores nesciunt. Qui dicta officiis qui minus. Incidunt omnis et voluptatem natus. Vero corporis est voluptatem natus. Et itaque saepe velit amet impedit nesciunt iure."], ["title", "Et est labore reprehenderit ea libero est pariatur laudantium."], ["updated_at", "2014-03-06 21:08:49.793133"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Et praesentium sint pariatur quibusdam. Vero at est corporis qui et voluptatem. Voluptatum vitae quis ipsam et consequuntur."], ["created_at", "2014-03-06 21:08:49.802920"], ["list_id", 1], ["title", "Aut aliquam sunt nihil necessitatibus."], ["updated_at", "2014-03-06 21:08:49.802920"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Veniam aut perferendis est quia ut odit ipsa. Soluta fuga in sequi et assumenda occaecati. Odio voluptatem vel sit sequi dolorem consequatur praesentium. Omnis et alias. Et velit est."], ["created_at", "2014-03-06 21:08:49.805762"], ["list_id", 1], ["title", "Vitae hic qui odio."], ["updated_at", "2014-03-06 21:08:49.805762"]]  (0.7ms) commit transaction Started GET "/knowledge_base/categories/facereutvoluptas/articles/pariaturomnisoccaecati" for 127.0.0.1 at 2014-03-06 22:09:33 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"facereutvoluptas", "id"=>"pariaturomnisoccaecati"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'facereutvoluptas' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 Completed 404 Not Found in 29ms ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound): friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:23:in `find' /Users/jgorset/code/ruby/knowledge_base/app/controllers/knowledge_base/articles_controller.rb:14:in `set_category' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:424:in `block in make_lambda' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (15.9ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (30.2ms) Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 22:09:36 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (10.1ms) Completed 200 OK in 24ms (Views: 23.7ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 22:09:36 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 22:09:36 +0100 Started GET "/knowledge_base/categories/ipsalaboreeos" for 127.0.0.1 at 2014-03-06 22:09:37 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"ipsalaboreeos"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsalaboreeos' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (18.3ms) Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 22:09:38 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 22:09:38 +0100 Started GET "/knowledge_base/categories/ipsalaboreeos/articles/eiusnisirepellat" for 127.0.0.1 at 2014-03-06 22:09:38 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsalaboreeos", "id"=>"eiusnisirepellat"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsalaboreeos' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'eiusnisirepellat' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.7ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (1.0ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.6ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (10.8ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (86.6ms) Completed 200 OK in 93ms (Views: 87.2ms | ActiveRecord: 2.8ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 22:09:38 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 22:09:38 +0100  (1.1ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'estinipsa' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-06 21:09:58.131052"], ["description", "Deserunt ut nostrum sapiente eum in."], ["slug", "estinipsa"], ["title", "estinipsa"], ["updated_at", "2014-03-06 21:09:58.131052"]]  (2.0ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'quibusdamdelenitiperspiciatis' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_articles" ("category_id", "created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["category_id", 1], ["created_at", "2014-03-06 21:09:58.150540"], ["description", "Assumenda facilis eum est molestias."], ["slug", "quibusdamdelenitiperspiciatis"], ["title", "quibusdamdelenitiperspiciatis"], ["updated_at", "2014-03-06 21:09:58.150540"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Aliquid nihil cumque facilis asperiores voluptates et suscipit. Sed nesciunt est. Natus illo nulla sit porro. Nam a minima."], ["created_at", "2014-03-06 21:09:58.159986"], ["heading", "dolorillodolore"], ["lead", "Consequatur incidunt vel modi quibusdam voluptatibus."], ["updated_at", "2014-03-06 21:09:58.159986"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 21:09:58.170165"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-06 21:09:58.170165"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Quia et numquam velit ab reiciendis neque illo id."], ["created_at", "2014-03-06 21:09:58.180752"], ["image", "parrot.png"], ["updated_at", "2014-03-06 21:09:58.180752"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 21:09:58.184448"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-06 21:09:58.184448"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-06 21:09:58.190458"], ["updated_at", "2014-03-06 21:09:58.190458"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 21:09:58.192745"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-06 21:09:58.192745"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 21:09:58.200078"], ["description", "Facere deleniti eius assumenda repellat quidem ut."], ["title", "Magni itaque sunt rerum aut rerum nihil."], ["updated_at", "2014-03-06 21:09:58.200078"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Natus ex fuga voluptatum placeat dicta et officia."], ["created_at", "2014-03-06 21:09:58.246897"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 21:09:58.246897"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Debitis fuga eligendi suscipit."], ["created_at", "2014-03-06 21:09:58.252313"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-06 21:09:58.252313"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 21:09:58.255472"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-06 21:09:58.255472"]]  (0.9ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_lists" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-06 21:09:58.263623"], ["description", "Est sed velit asperiores assumenda molestiae qui dolores. Voluptatum quam aliquid quis. Nihil iste et voluptas ut deserunt. Illo porro qui voluptas."], ["title", "Excepturi nemo aut neque aut suscipit quidem voluptatibus possimus."], ["updated_at", "2014-03-06 21:09:58.263623"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Quae iusto aliquid distinctio. Cumque necessitatibus distinctio sit enim. Necessitatibus dolor sed molestiae distinctio."], ["created_at", "2014-03-06 21:09:58.273987"], ["list_id", 1], ["title", "Accusantium beatae non aperiam."], ["updated_at", "2014-03-06 21:09:58.273987"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Deserunt qui molestiae in omnis dolor quaerat aut. Earum excepturi non qui maiores voluptas ipsum impedit. Eum et consectetur neque. Est nostrum atque nesciunt autem corporis cupiditate. Quidem sunt laboriosam optio consequuntur dolor earum."], ["created_at", "2014-03-06 21:09:58.277079"], ["list_id", 1], ["title", "Nihil omnis incidunt tempora."], ["updated_at", "2014-03-06 21:09:58.277079"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-06 21:09:58.279159"], ["position", 5], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::List"], ["updated_at", "2014-03-06 21:09:58.279159"]]  (0.7ms) commit transaction Started GET "/knowledge_base/categories/ipsalaboreeos/articles/eiusnisirepellat" for 127.0.0.1 at 2014-03-06 22:10:03 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsalaboreeos", "id"=>"eiusnisirepellat"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsalaboreeos' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 Completed 404 Not Found in 54ms ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound): friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:23:in `find' /Users/jgorset/code/ruby/knowledge_base/app/controllers/knowledge_base/articles_controller.rb:14:in `set_category' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:424:in `block in make_lambda' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (15.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (26.2ms) Started GET "/knowledge_base/categories/ipsalaboreeos/articles/eiusnisirepellat" for 127.0.0.1 at 2014-03-06 22:10:04 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"ipsalaboreeos", "id"=>"eiusnisirepellat"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'ipsalaboreeos' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 Completed 404 Not Found in 2ms ActiveRecord::RecordNotFound (ActiveRecord::RecordNotFound): friendly_id (5.0.3) lib/friendly_id/finder_methods.rb:23:in `find' /Users/jgorset/code/ruby/knowledge_base/app/controllers/knowledge_base/articles_controller.rb:14:in `set_category' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:424:in `block in make_lambda' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:160:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.3ms) Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-06 22:10:06 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (9.8ms) Completed 200 OK in 19ms (Views: 18.7ms | ActiveRecord: 0.2ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 22:10:06 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 22:10:06 +0100 Started GET "/knowledge_base/categories/estinipsa" for 127.0.0.1 at 2014-03-06 22:10:07 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"estinipsa"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'estinipsa' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (18.5ms) Completed 200 OK in 23ms (Views: 21.3ms | ActiveRecord: 0.7ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 22:10:07 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 22:10:07 +0100 Started GET "/knowledge_base/categories/estinipsa/articles/quibusdamdelenitiperspiciatis" for 127.0.0.1 at 2014-03-06 22:10:08 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"estinipsa", "id"=>"quibusdamdelenitiperspiciatis"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'estinipsa' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'quibusdamdelenitiperspiciatis' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.6ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.8ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.6ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (10.5ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (87.5ms) Completed 500 Internal Server Error in 93ms ActionView::Template::Error (Missing partial knowledge_base/sectionables/lists/_list with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/jgorset/code/ruby/knowledge_base/spec/dummy/app/views" * "/Users/jgorset/code/ruby/knowledge_base/app/views" ): 5: 6: <% @article.sections.each do |section| %> 7:
8: <%= render section.sectionable %> 9:
10: <% end %> 11: actionview (4.1.0.rc1) lib/action_view/path_set.rb:46:in `find' actionview (4.1.0.rc1) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:383:in `find_template' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:377:in `find_partial' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:263:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0.rc1) lib/action_view/helpers/rendering_helper.rb:34:in `render' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:8:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___4159521279854756676_70274341380140' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___4159521279854756676_70274341380140' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.0ms) Started GET "/knowledge_base/categories/estinipsa/articles/quibusdamdelenitiperspiciatis" for 127.0.0.1 at 2014-03-06 22:12:10 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"estinipsa", "id"=>"quibusdamdelenitiperspiciatis"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'estinipsa' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'quibusdamdelenitiperspiciatis' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.2ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (1.8ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (11.4ms) Completed 500 Internal Server Error in 16ms ActionView::Template::Error (Missing partial knowledge_base/sectionables/lists/_list with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/jgorset/code/ruby/knowledge_base/spec/dummy/app/views" * "/Users/jgorset/code/ruby/knowledge_base/app/views" ): 5: 6: <% @article.sections.each do |section| %> 7:
8: <%= render section.sectionable %> 9:
10: <% end %> 11: actionview (4.1.0.rc1) lib/action_view/path_set.rb:46:in `find' actionview (4.1.0.rc1) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:383:in `find_template' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:377:in `find_partial' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:263:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0.rc1) lib/action_view/helpers/rendering_helper.rb:34:in `render' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:8:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___4159521279854756676_70274341380140' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___4159521279854756676_70274341380140' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.0ms) Started GET "/knowledge_base/categories/estinipsa/articles/quibusdamdelenitiperspiciatis" for 127.0.0.1 at 2014-03-06 22:12:29 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"estinipsa", "id"=>"quibusdamdelenitiperspiciatis"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'estinipsa' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'quibusdamdelenitiperspiciatis' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (1.8ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::List::Item Load (0.2ms) SELECT "knowledge_base_sectionables_list_items".* FROM "knowledge_base_sectionables_list_items" WHERE "knowledge_base_sectionables_list_items"."list_id" = ? [["list_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb (10.9ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (22.1ms) Completed 500 Internal Server Error in 26ms ActionView::Template::Error (undefined method `description' for #): 10:

<%= item.title %>

11: 12:
13: <%= simple_format item.description %> 14:
15: 16: <% end %> activemodel (4.1.0.rc1) lib/active_model/attribute_methods.rb:435:in `method_missing' activerecord (4.1.0.rc1) lib/active_record/attribute_methods.rb:203:in `method_missing' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb:13:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_sectionables_lists__list_html_erb__2618453972680843764_70274373415500' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb:8:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_sectionables_lists__list_html_erb__2618453972680843764_70274373415500' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:279:in `block in render' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:278:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0.rc1) lib/action_view/helpers/rendering_helper.rb:34:in `render' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:8:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___4159521279854756676_70274341380140' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb___4159521279854756676_70274341380140' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.1ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (9.0ms) Started GET "/knowledge_base/categories/estinipsa/articles/quibusdamdelenitiperspiciatis" for 127.0.0.1 at 2014-03-06 22:12:52 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"estinipsa", "id"=>"quibusdamdelenitiperspiciatis"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'estinipsa' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'quibusdamdelenitiperspiciatis' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (1.7ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::List::Item Load (0.1ms) SELECT "knowledge_base_sectionables_list_items".* FROM "knowledge_base_sectionables_list_items" WHERE "knowledge_base_sectionables_list_items"."list_id" = ? [["list_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb (1.8ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (12.2ms) Completed 200 OK in 18ms (Views: 14.6ms | ActiveRecord: 0.9ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 22:12:53 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 22:12:53 +0100 Started GET "/knowledge_base/categories/estinipsa/articles/quibusdamdelenitiperspiciatis" for 127.0.0.1 at 2014-03-06 22:13:00 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"estinipsa", "id"=>"quibusdamdelenitiperspiciatis"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'estinipsa' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'quibusdamdelenitiperspiciatis' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.2ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.5ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (1.6ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::List::Item Load (0.1ms) SELECT "knowledge_base_sectionables_list_items".* FROM "knowledge_base_sectionables_list_items" WHERE "knowledge_base_sectionables_list_items"."list_id" = ? [["list_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb (1.8ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (14.3ms) Completed 200 OK in 21ms (Views: 16.7ms | ActiveRecord: 1.1ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 22:13:00 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 22:13:00 +0100 Started GET "/knowledge_base/categories/estinipsa/articles/quibusdamdelenitiperspiciatis" for 127.0.0.1 at 2014-03-06 22:13:35 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"estinipsa", "id"=>"quibusdamdelenitiperspiciatis"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'estinipsa' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'quibusdamdelenitiperspiciatis' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (1.6ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::List::Item Load (0.1ms) SELECT "knowledge_base_sectionables_list_items".* FROM "knowledge_base_sectionables_list_items" WHERE "knowledge_base_sectionables_list_items"."list_id" = ? [["list_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb (0.9ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (11.6ms) Completed 200 OK in 17ms (Views: 14.2ms | ActiveRecord: 0.9ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 22:13:35 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 22:13:35 +0100 Started GET "/knowledge_base/categories/estinipsa/articles/quibusdamdelenitiperspiciatis" for 127.0.0.1 at 2014-03-06 22:17:23 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"estinipsa", "id"=>"quibusdamdelenitiperspiciatis"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'estinipsa' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."category_id" = ? AND "knowledge_base_articles"."slug" = 'quibusdamdelenitiperspiciatis' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.2ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.6ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.2ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (12.0ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::List::Item Load (0.2ms) SELECT "knowledge_base_sectionables_list_items".* FROM "knowledge_base_sectionables_list_items" WHERE "knowledge_base_sectionables_list_items"."list_id" = ? ORDER BY position ASC [["list_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb (11.2ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (112.9ms) Completed 200 OK in 130ms (Views: 113.1ms | ActiveRecord: 5.0ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-06 22:17:24 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-06 22:17:24 +0100 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategoryArticleAssociations (20140307080616)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategoryArticleAssociations (20140307080616)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (1.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategoryArticleAssociations (20140307080616)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (1.9ms) rollback transaction ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategoryArticleAssociations (20140307080616)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategoryArticleAssociations (20140307080616)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.4ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategoryArticleAssociations (20140307080616)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.0ms) select sqlite_version(*)  (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.9ms) CREATE TEMPORARY TABLE "aknowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_knowledge_base_c_a_association_on_article_id" ON "aknowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_knowledge_base_c_a_association_on_category_id" ON "aknowledge_base_category_article_associations" ("category_id")  (0.0ms) SELECT * FROM "knowledge_base_category_article_associations"  (2.1ms) DROP TABLE "knowledge_base_category_article_associations"  (0.1ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_knowledge_base_c_a_association_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.0ms) SELECT * FROM "aknowledge_base_category_article_associations"  (0.3ms) DROP TABLE "aknowledge_base_category_article_associations" SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140307080616"]]  (1.2ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (1.1ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.6ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.6ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'perspiciatisquaeaut' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 08:13:00.914546"], ["description", "Ut molestias sint esse."], ["slug", "perspiciatisquaeaut"], ["title", "perspiciatisquaeaut"], ["updated_at", "2014-03-07 08:13:00.914546"]]  (0.7ms) commit transaction  (2.4ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'rationenihilvoluptatem' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 08:13:51.025771"], ["description", "Eligendi necessitatibus quis placeat commodi quia."], ["slug", "rationenihilvoluptatem"], ["title", "rationenihilvoluptatem"], ["updated_at", "2014-03-07 08:13:51.025771"]]  (2.1ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'pariaturrerumsimilique' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 08:13:51.042839"], ["description", "Non vel maxime commodi."], ["slug", "pariaturrerumsimilique"], ["title", "pariaturrerumsimilique"], ["updated_at", "2014-03-07 08:13:51.042839"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_category_article_associations" ("article_id", "category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["category_id", 1], ["created_at", "2014-03-07 08:13:51.056320"], ["updated_at", "2014-03-07 08:13:51.056320"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Molestiae adipisci voluptatem et minus eligendi. Illo nesciunt fugit non recusandae. Quidem totam voluptates eos quam repudiandae. Aut voluptatem ut sint."], ["created_at", "2014-03-07 08:13:51.069831"], ["heading", "sapienteconsequatursed"], ["lead", "Incidunt aut molestias qui et sint in."], ["updated_at", "2014-03-07 08:13:51.069831"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 08:13:51.080668"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-07 08:13:51.080668"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.6ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Hic omnis enim eveniet earum."], ["created_at", "2014-03-07 08:13:51.093323"], ["image", "parrot.png"], ["updated_at", "2014-03-07 08:13:51.093323"]]  (3.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 08:13:51.130128"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-07 08:13:51.130128"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-07 08:13:51.136440"], ["updated_at", "2014-03-07 08:13:51.136440"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 08:13:51.138628"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-07 08:13:51.138628"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 08:13:51.146591"], ["description", "Dolorum cumque accusamus et."], ["title", "Soluta sit ad ex laboriosam nesciunt ut est illo."], ["updated_at", "2014-03-07 08:13:51.146591"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Numquam placeat quia quod."], ["created_at", "2014-03-07 08:13:51.164346"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 08:13:51.164346"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Deleniti suscipit in omnis."], ["created_at", "2014-03-07 08:13:51.168989"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 08:13:51.168989"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 08:13:51.171857"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-07 08:13:51.171857"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_lists" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 08:13:51.179692"], ["description", "Odit dolorem aut unde accusantium aspernatur fugiat voluptas. Quod laborum temporibus ea qui. Explicabo voluptatem aspernatur et aut commodi aperiam. Officia vitae rerum debitis cum repudiandae ducimus doloremque."], ["title", "Minima qui mollitia quo molestias magnam unde consequatur tempore."], ["updated_at", "2014-03-07 08:13:51.179692"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Inventore impedit modi quidem optio. Sunt maiores ea fugiat eligendi natus aliquid. Autem ipsam et excepturi dolorem maiores iure aliquid. Omnis qui voluptatem et."], ["created_at", "2014-03-07 08:13:51.189278"], ["list_id", 1], ["title", "Voluptas consequuntur qui in quia sit porro."], ["updated_at", "2014-03-07 08:13:51.189278"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Nihil officia quidem aliquid. Necessitatibus voluptas pariatur corporis nisi. Consectetur consequatur tenetur repudiandae ex esse dolor qui."], ["created_at", "2014-03-07 08:13:51.192179"], ["list_id", 1], ["title", "Nulla assumenda unde est voluptas qui sed natus et."], ["updated_at", "2014-03-07 08:13:51.192179"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 08:13:51.194189"], ["position", 5], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::List"], ["updated_at", "2014-03-07 08:13:51.194189"]]  (0.7ms) commit transaction Started GET "/" for 127.0.0.1 at 2014-03-07 09:14:03 +0100 Processing by Rails::WelcomeController#index as HTML Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/railties-4.1.0.rc1/lib/rails/templates/rails/welcome/index.html.erb (1.8ms) Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms) Started GET "/categories" for 127.0.0.1 at 2014-03-07 09:14:05 +0100 ActionController::RoutingError (No route matches [GET] "/categories"): actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.9ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.3ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (6.8ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (26.5ms) Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-07 09:14:09 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (13.4ms) Completed 200 OK in 65ms (Views: 40.9ms | ActiveRecord: 1.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-07 09:14:09 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-07 09:14:09 +0100 Started GET "/knowledge_base/categories/rationenihilvoluptatem" for 127.0.0.1 at 2014-03-07 09:14:09 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"rationenihilvoluptatem"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'rationenihilvoluptatem' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" INNER JOIN "knowledge_base_category_article_associations" ON "knowledge_base_articles"."id" = "knowledge_base_category_article_associations"."article_id" WHERE "knowledge_base_category_article_associations"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (55.0ms) Completed 200 OK in 62ms (Views: 57.8ms | ActiveRecord: 0.8ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-07 09:14:10 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-07 09:14:10 +0100 Started GET "/knowledge_base/categories/rationenihilvoluptatem/articles/pariaturrerumsimilique" for 127.0.0.1 at 2014-03-07 09:14:10 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"rationenihilvoluptatem", "id"=>"pariaturrerumsimilique"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'rationenihilvoluptatem' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" INNER JOIN "knowledge_base_category_article_associations" ON "knowledge_base_articles"."id" = "knowledge_base_category_article_associations"."article_id" WHERE "knowledge_base_category_article_associations"."category_id" = ? AND "knowledge_base_articles"."slug" = 'pariaturrerumsimilique' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.6ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (1.0ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.5ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (38.1ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::List::Item Load (0.2ms) SELECT "knowledge_base_sectionables_list_items".* FROM "knowledge_base_sectionables_list_items" WHERE "knowledge_base_sectionables_list_items"."list_id" = ? ORDER BY position ASC [["list_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb (10.4ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (96.2ms) Completed 200 OK in 102ms (Views: 96.1ms | ActiveRecord: 3.5ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-07 09:14:10 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-07 09:14:10 +0100 ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseSectionablesLinks (20140307092627)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140307092627"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesLinksLinks (20140307092719)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140307092719"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (1.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.6ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.6ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627') ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedeoseaque' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:37:39.431452"], ["description", "Soluta nihil quaerat sequi ea non magnam molestiae."], ["slug", "sedeoseaque"], ["title", "sedeoseaque"], ["updated_at", "2014-03-07 09:37:39.431452"]]  (0.8ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'necessitatibusconsequaturnon' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:37:39.448170"], ["description", "Distinctio et rerum consequatur est facilis."], ["slug", "necessitatibusconsequaturnon"], ["title", "necessitatibusconsequaturnon"], ["updated_at", "2014-03-07 09:37:39.448170"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_category_article_associations" ("article_id", "category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["category_id", 1], ["created_at", "2014-03-07 09:37:39.460075"], ["updated_at", "2014-03-07 09:37:39.460075"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Ratione error optio pariatur. Consequatur et ut. Amet culpa recusandae. Quis aut laudantium voluptas qui est. Natus dolorem et placeat praesentium voluptatem."], ["created_at", "2014-03-07 09:37:39.476032"], ["heading", "eaeiusrepudiandae"], ["lead", "Nihil ut velit rerum aut voluptas accusamus quia aut."], ["updated_at", "2014-03-07 09:37:39.476032"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:37:39.486636"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-07 09:37:39.486636"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Id ea et nostrum vitae voluptas dolor odio."], ["created_at", "2014-03-07 09:37:39.536521"], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:37:39.536521"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:37:39.540766"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-07 09:37:39.540766"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-07 09:37:39.548677"], ["updated_at", "2014-03-07 09:37:39.548677"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:37:39.551384"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-07 09:37:39.551384"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:37:39.559185"], ["description", "Temporibus aut voluptas voluptas."], ["title", "Id voluptas autem officia."], ["updated_at", "2014-03-07 09:37:39.559185"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Autem deleniti harum quidem eius eum."], ["created_at", "2014-03-07 09:37:39.582868"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:37:39.582868"]]  (0.5ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Sed ratione consequatur eaque voluptas ut autem nesciunt mollitia."], ["created_at", "2014-03-07 09:37:39.588382"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:37:39.588382"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:37:39.591422"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-07 09:37:39.591422"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_lists" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:37:39.601615"], ["description", "Commodi laborum accusantium consequuntur sed ea et. Impedit tempore architecto consequatur. Earum ullam mollitia aspernatur."], ["title", "Quia quaerat exercitationem iste facere."], ["updated_at", "2014-03-07 09:37:39.601615"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Voluptatibus consequatur quis vel sit. Dignissimos sint totam laborum quia voluptatem. Quas nobis enim omnis non dolorem ipsam. Provident iste optio in culpa. Consequatur quo modi sed nostrum aliquam a minima."], ["created_at", "2014-03-07 09:37:39.612509"], ["list_id", 1], ["title", "Quis et quidem excepturi architecto voluptas."], ["updated_at", "2014-03-07 09:37:39.612509"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Et neque itaque accusamus aut vel. Eaque sit et. Aut necessitatibus quo officiis eum consequatur."], ["created_at", "2014-03-07 09:37:39.615317"], ["list_id", 1], ["title", "Voluptatem veritatis voluptas odit aliquam rerum ullam."], ["updated_at", "2014-03-07 09:37:39.615317"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:37:39.617342"], ["position", 5], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::List"], ["updated_at", "2014-03-07 09:37:39.617342"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_links" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-03-07 09:37:39.621971"], ["updated_at", "2014-03-07 09:37:39.621971"]]  (0.6ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (9.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.2ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.6ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (1.0ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'modidolorodit' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:40:50.602669"], ["description", "Assumenda voluptatem eum consequuntur."], ["slug", "modidolorodit"], ["title", "modidolorodit"], ["updated_at", "2014-03-07 09:40:50.602669"]]  (2.3ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'etculpaoptio' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:40:50.619451"], ["description", "Atque incidunt eaque vel rerum blanditiis doloribus."], ["slug", "etculpaoptio"], ["title", "etculpaoptio"], ["updated_at", "2014-03-07 09:40:50.619451"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_category_article_associations" ("article_id", "category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["category_id", 1], ["created_at", "2014-03-07 09:40:50.629406"], ["updated_at", "2014-03-07 09:40:50.629406"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Quia assumenda vero ad in. Rem deserunt esse qui et possimus et. Modi exercitationem eligendi repudiandae et facilis quasi aut. Illo iste quo asperiores et fugit."], ["created_at", "2014-03-07 09:40:50.641350"], ["heading", "accusamuseumquibusdam"], ["lead", "Atque pariatur nihil voluptatem quo ad."], ["updated_at", "2014-03-07 09:40:50.641350"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:40:50.650900"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-07 09:40:50.650900"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Expedita aliquam enim sunt vel sit ullam autem."], ["created_at", "2014-03-07 09:40:50.661717"], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:40:50.661717"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:40:50.697390"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-07 09:40:50.697390"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-07 09:40:50.703448"], ["updated_at", "2014-03-07 09:40:50.703448"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:40:50.705615"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-07 09:40:50.705615"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:40:50.713763"], ["description", "Voluptatem reiciendis a rem et."], ["title", "Sit eos distinctio optio."], ["updated_at", "2014-03-07 09:40:50.713763"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Ullam alias quia cupiditate nobis quasi aut."], ["created_at", "2014-03-07 09:40:50.732499"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:40:50.732499"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Dolores cupiditate ipsum cum."], ["created_at", "2014-03-07 09:40:50.737311"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:40:50.737311"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:40:50.739968"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-07 09:40:50.739968"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_lists" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:40:50.749407"], ["description", "Quo dolorum voluptas quo sunt. Nam quo consequatur qui quos tempore. Doloremque odio adipisci tempore velit est. Ut possimus dolore ratione. Natus error quam."], ["title", "Nemo ipsa dolorem sit."], ["updated_at", "2014-03-07 09:40:50.749407"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Blanditiis officia asperiores quia aperiam placeat cum et. Recusandae deserunt ad molestiae nostrum dolores. Nisi error totam est distinctio esse."], ["created_at", "2014-03-07 09:40:50.759217"], ["list_id", 1], ["title", "Possimus ipsam accusamus quasi illum dolorem aut earum amet."], ["updated_at", "2014-03-07 09:40:50.759217"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Non aut qui. Corrupti est deleniti. Ducimus ratione nulla voluptatem sint minus excepturi. Aperiam omnis beatae."], ["created_at", "2014-03-07 09:40:50.761942"], ["list_id", 1], ["title", "Excepturi dicta animi nisi totam dolorem id vitae."], ["updated_at", "2014-03-07 09:40:50.761942"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:40:50.763952"], ["position", 5], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::List"], ["updated_at", "2014-03-07 09:40:50.763952"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_links" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-03-07 09:40:50.768453"], ["updated_at", "2014-03-07 09:40:50.768453"]]  (0.5ms) commit transaction  (2.4ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.2ms) select sqlite_version(*)  (1.2ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.6ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'etillumiusto' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:41:01.288784"], ["description", "Quisquam quibusdam reprehenderit a."], ["slug", "etillumiusto"], ["title", "etillumiusto"], ["updated_at", "2014-03-07 09:41:01.288784"]]  (0.8ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'etautemquo' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:41:01.304723"], ["description", "Vero accusantium eum ratione in fuga."], ["slug", "etautemquo"], ["title", "etautemquo"], ["updated_at", "2014-03-07 09:41:01.304723"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_category_article_associations" ("article_id", "category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["category_id", 1], ["created_at", "2014-03-07 09:41:01.315185"], ["updated_at", "2014-03-07 09:41:01.315185"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Ut quas ipsa eaque voluptates qui velit. Sit voluptas quasi et qui vel repudiandae dolor. Magnam occaecati officia repellat rem dicta voluptates. Aspernatur qui dignissimos at."], ["created_at", "2014-03-07 09:41:01.328512"], ["heading", "ipsaeosest"], ["lead", "Quia sit delectus suscipit."], ["updated_at", "2014-03-07 09:41:01.328512"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:01.339175"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-07 09:41:01.339175"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Quod debitis similique inventore impedit."], ["created_at", "2014-03-07 09:41:01.350600"], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:41:01.350600"]]  (1.3ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:01.387713"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-07 09:41:01.387713"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-07 09:41:01.394039"], ["updated_at", "2014-03-07 09:41:01.394039"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:01.396446"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-07 09:41:01.396446"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:41:01.403744"], ["description", "Mollitia fugiat atque ab eaque."], ["title", "Dolores ex possimus qui blanditiis."], ["updated_at", "2014-03-07 09:41:01.403744"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Modi fugiat rerum ut autem assumenda praesentium aut."], ["created_at", "2014-03-07 09:41:01.420563"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:41:01.420563"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Aspernatur totam iusto hic."], ["created_at", "2014-03-07 09:41:01.425650"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:41:01.425650"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:01.428771"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-07 09:41:01.428771"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_lists" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:41:01.436590"], ["description", "Hic modi qui eveniet aut nulla. Enim ipsam ut occaecati est quam ut. Laborum quasi debitis totam saepe aliquam est dolor. Cum quia aut."], ["title", "Sed facere iste illo doloremque autem dolorum."], ["updated_at", "2014-03-07 09:41:01.436590"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Porro repellendus eum. Voluptatem iste sapiente dolor. Eveniet vel possimus perferendis et. Placeat rerum voluptatem tempora vitae. Voluptas dolore nisi quaerat."], ["created_at", "2014-03-07 09:41:01.447032"], ["list_id", 1], ["title", "Labore assumenda pariatur perspiciatis."], ["updated_at", "2014-03-07 09:41:01.447032"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Dolorem esse ea dolores maiores quis. Cumque sequi sunt enim iure voluptatem. Sit temporibus est voluptate alias doloremque qui eligendi."], ["created_at", "2014-03-07 09:41:01.450024"], ["list_id", 1], ["title", "Dolor et maxime rerum nam enim consequatur."], ["updated_at", "2014-03-07 09:41:01.450024"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:01.452065"], ["position", 5], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::List"], ["updated_at", "2014-03-07 09:41:01.452065"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_links" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-03-07 09:41:01.456613"], ["updated_at", "2014-03-07 09:41:01.456613"]]  (0.7ms) commit transaction  (2.4ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.9ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (1.0ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'corruptiquiaoptio' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:41:13.459675"], ["description", "Cupiditate in ut consequuntur tempora consequatur aperiam et tempore."], ["slug", "corruptiquiaoptio"], ["title", "corruptiquiaoptio"], ["updated_at", "2014-03-07 09:41:13.459675"]]  (2.3ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'quiveritatisfuga' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:41:13.477834"], ["description", "Ut voluptatem rerum iste deleniti qui."], ["slug", "quiveritatisfuga"], ["title", "quiveritatisfuga"], ["updated_at", "2014-03-07 09:41:13.477834"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_category_article_associations" ("article_id", "category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["category_id", 1], ["created_at", "2014-03-07 09:41:13.487335"], ["updated_at", "2014-03-07 09:41:13.487335"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Est et aliquid est corporis consequatur et. Facere suscipit omnis beatae consequatur ea ut pariatur. Voluptatem autem minus et molestiae optio dolorum vel. Dolor unde vel numquam nulla facere quo dicta. Inventore autem harum illo laborum nam."], ["created_at", "2014-03-07 09:41:13.499870"], ["heading", "quiaestaccusantium"], ["lead", "Expedita quo odit possimus voluptatibus et non."], ["updated_at", "2014-03-07 09:41:13.499870"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:13.510620"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-07 09:41:13.510620"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "In at sequi quia."], ["created_at", "2014-03-07 09:41:13.552567"], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:41:13.552567"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:13.555877"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-07 09:41:13.555877"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-07 09:41:13.562021"], ["updated_at", "2014-03-07 09:41:13.562021"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:13.564669"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-07 09:41:13.564669"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:41:13.572117"], ["description", "Enim porro animi repellendus quae illo distinctio eligendi."], ["title", "Architecto accusantium tempore neque."], ["updated_at", "2014-03-07 09:41:13.572117"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Autem incidunt mollitia eum iste."], ["created_at", "2014-03-07 09:41:13.588232"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:41:13.588232"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Excepturi ipsum magnam non dolores."], ["created_at", "2014-03-07 09:41:13.593508"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:41:13.593508"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:13.596581"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-07 09:41:13.596581"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_lists" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:41:13.604541"], ["description", "Accusantium tempora est id veritatis minus. Et omnis eum quisquam. Nam consequatur quam autem."], ["title", "Id reprehenderit et nihil voluptates."], ["updated_at", "2014-03-07 09:41:13.604541"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Sit occaecati maiores reiciendis. Officiis nihil sequi perferendis modi doloremque placeat quos. Consequuntur molestias quibusdam aperiam natus consequatur soluta. Nihil neque quia. Porro non aspernatur."], ["created_at", "2014-03-07 09:41:13.615030"], ["list_id", 1], ["title", "Voluptas quisquam non dicta sunt nihil distinctio consequatur."], ["updated_at", "2014-03-07 09:41:13.615030"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Accusantium iste fugit excepturi corrupti qui eveniet. Perferendis ut ut amet accusantium illo minima ratione. Corrupti totam ut expedita."], ["created_at", "2014-03-07 09:41:13.617820"], ["list_id", 1], ["title", "Debitis labore sapiente dolores doloremque sunt quidem quo."], ["updated_at", "2014-03-07 09:41:13.617820"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:13.619936"], ["position", 5], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::List"], ["updated_at", "2014-03-07 09:41:13.619936"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_links" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-03-07 09:41:13.624700"], ["updated_at", "2014-03-07 09:41:13.624700"]]  (0.7ms) commit transaction  (2.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.2ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'rerumautconsequatur' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:41:42.104421"], ["description", "Natus nulla aut nam enim."], ["slug", "rerumautconsequatur"], ["title", "rerumautconsequatur"], ["updated_at", "2014-03-07 09:41:42.104421"]]  (2.1ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'esseautemimpedit' LIMIT 1 SQL (0.3ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:41:42.121973"], ["description", "Soluta rerum sit illo et tempore."], ["slug", "esseautemimpedit"], ["title", "esseautemimpedit"], ["updated_at", "2014-03-07 09:41:42.121973"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_category_article_associations" ("article_id", "category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["category_id", 1], ["created_at", "2014-03-07 09:41:42.132143"], ["updated_at", "2014-03-07 09:41:42.132143"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Minima aspernatur est. Aut ipsam consectetur autem. A nemo vitae aut debitis."], ["created_at", "2014-03-07 09:41:42.146063"], ["heading", "remnullaoccaecati"], ["lead", "Et et officia sint."], ["updated_at", "2014-03-07 09:41:42.146063"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:42.156132"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-07 09:41:42.156132"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Odit illum delectus sit omnis ut."], ["created_at", "2014-03-07 09:41:42.167982"], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:41:42.167982"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:42.203847"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-07 09:41:42.203847"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-07 09:41:42.210234"], ["updated_at", "2014-03-07 09:41:42.210234"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:42.212477"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-07 09:41:42.212477"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:41:42.219976"], ["description", "In quisquam unde aperiam vel iusto incidunt quibusdam sunt."], ["title", "Voluptatum aspernatur minima tempore quisquam deserunt."], ["updated_at", "2014-03-07 09:41:42.219976"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Dolor assumenda dolore sunt aut quos inventore."], ["created_at", "2014-03-07 09:41:42.236800"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:41:42.236800"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Voluptatem similique culpa sunt qui saepe."], ["created_at", "2014-03-07 09:41:42.242075"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 09:41:42.242075"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (1.4ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:42.245027"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-07 09:41:42.245027"]]  (0.6ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_lists" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 09:41:42.254562"], ["description", "Aut nostrum ea dolorem non recusandae rem. Velit ullam vitae et officiis. Cum velit iusto quis reiciendis enim aliquam eligendi. Id possimus et distinctio autem quidem. Eligendi distinctio ad recusandae."], ["title", "Vitae quaerat cum itaque perferendis sunt ducimus."], ["updated_at", "2014-03-07 09:41:42.254562"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Veritatis vitae tempora aut ipsum nulla quisquam quia. Ipsa iste quibusdam consequuntur illo dolorem et. Aliquam sint voluptas."], ["created_at", "2014-03-07 09:41:42.264631"], ["list_id", 1], ["title", "Quo odio aliquid vitae neque doloribus."], ["updated_at", "2014-03-07 09:41:42.264631"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Repellat odit excepturi quia aspernatur totam nulla beatae. Aut non quo quidem vero. Consectetur sint facilis. Rerum sint et magnam quae nam qui."], ["created_at", "2014-03-07 09:41:42.267672"], ["list_id", 1], ["title", "Nesciunt in et repudiandae cum."], ["updated_at", "2014-03-07 09:41:42.267672"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:42.269883"], ["position", 5], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::List"], ["updated_at", "2014-03-07 09:41:42.269883"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_links" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-03-07 09:41:42.274537"], ["updated_at", "2014-03-07 09:41:42.274537"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_links_links" ("created_at", "links_id", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:41:42.285363"], ["links_id", 1], ["title", "quos"], ["updated_at", "2014-03-07 09:41:42.285363"], ["url", "http://example.org"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_links_links" ("created_at", "links_id", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 09:41:42.287785"], ["links_id", 1], ["title", "vitae"], ["updated_at", "2014-03-07 09:41:42.287785"], ["url", "http://example.org"]]  (0.6ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 09:41:42.290049"], ["position", 6], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Links"], ["updated_at", "2014-03-07 09:41:42.290049"]]  (0.7ms) commit transaction Started GET "/knowledge_base/categories/" for 127.0.0.1 at 2014-03-07 10:43:09 +0100 Processing by KnowledgeBase::CategoriesController#index as HTML KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/index.html.erb within layouts/knowledge_base/application (12.7ms) Completed 200 OK in 100ms (Views: 45.8ms | ActiveRecord: 1.5ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-07 10:43:09 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-07 10:43:09 +0100 Started GET "/knowledge_base/categories/rerumautconsequatur" for 127.0.0.1 at 2014-03-07 10:43:10 +0100 Processing by KnowledgeBase::CategoriesController#show as HTML Parameters: {"id"=>"rerumautconsequatur"} KnowledgeBase::Category Load (0.3ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'rerumautconsequatur' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" INNER JOIN "knowledge_base_category_article_associations" ON "knowledge_base_articles"."id" = "knowledge_base_category_article_associations"."article_id" WHERE "knowledge_base_category_article_associations"."category_id" = ? [["category_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/categories/show.html.erb within layouts/knowledge_base/application (55.8ms) Completed 200 OK in 63ms (Views: 58.6ms | ActiveRecord: 0.8ms) Started GET "/knowledge_base/categories/rerumautconsequatur/articles/esseautemimpedit" for 127.0.0.1 at 2014-03-07 10:43:10 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"rerumautconsequatur", "id"=>"esseautemimpedit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'rerumautconsequatur' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" INNER JOIN "knowledge_base_category_article_associations" ON "knowledge_base_articles"."id" = "knowledge_base_category_article_associations"."article_id" WHERE "knowledge_base_category_article_associations"."category_id" = ? AND "knowledge_base_articles"."slug" = 'esseautemimpedit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.2ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.6ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (1.0ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.6ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.2ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (11.0ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::List::Item Load (0.2ms) SELECT "knowledge_base_sectionables_list_items".* FROM "knowledge_base_sectionables_list_items" WHERE "knowledge_base_sectionables_list_items"."list_id" = ? ORDER BY position ASC [["list_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb (9.1ms) KnowledgeBase::Sectionables::Links Load (0.1ms) SELECT "knowledge_base_sectionables_links".* FROM "knowledge_base_sectionables_links" WHERE "knowledge_base_sectionables_links"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (112.9ms) Completed 500 Internal Server Error in 118ms ActionView::Template::Error (Missing partial knowledge_base/sectionables/links/_links with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: * "/Users/jgorset/code/ruby/knowledge_base/spec/dummy/app/views" * "/Users/jgorset/code/ruby/knowledge_base/app/views" ): 5: 6: <% @article.sections.each do |section| %> 7:
8: <%= render section.sectionable %> 9:
10: <% end %> 11: actionview (4.1.0.rc1) lib/action_view/path_set.rb:46:in `find' actionview (4.1.0.rc1) lib/action_view/lookup_context.rb:124:in `find' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:383:in `find_template' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:377:in `find_partial' actionview (4.1.0.rc1) lib/action_view/renderer/partial_renderer.rb:263:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:47:in `render_partial' actionview (4.1.0.rc1) lib/action_view/helpers/rendering_helper.rb:34:in `render' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:8:in `block in ___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb__2692050226031104335_70159203547680' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' activerecord (4.1.0.rc1) lib/active_record/relation/delegation.rb:46:in `each' /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb:6:in `___sers_jgorset_code_ruby_knowledge_base_app_views_knowledge_base_articles_show_html_erb__2692050226031104335_70159203547680' actionview (4.1.0.rc1) lib/action_view/template.rb:144:in `block in render' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:161:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:338:in `instrument' actionview (4.1.0.rc1) lib/action_view/template.rb:142:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:55:in `block (2 levels) in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:54:in `block in render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:62:in `render_with_layout' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:53:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/template_renderer.rb:17:in `render' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:42:in `render_template' actionview (4.1.0.rc1) lib/action_view/renderer/renderer.rb:23:in `render' actionview (4.1.0.rc1) lib/action_view/rendering.rb:99:in `_render_template' actionpack (4.1.0.rc1) lib/action_controller/metal/streaming.rb:217:in `_render_template' actionview (4.1.0.rc1) lib/action_view/rendering.rb:82:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/action_controller/metal/renderers.rb:32:in `render_to_body' actionpack (4.1.0.rc1) lib/abstract_controller/rendering.rb:25:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:16:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/benchmark.rb:296:in `realtime' activesupport (4.1.0.rc1) lib/active_support/core_ext/benchmark.rb:12:in `ms' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:41:in `block in render' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:40:in `render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:10:in `default_render' actionpack (4.1.0.rc1) lib/action_controller/metal/implicit_render.rb:5:in `send_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:189:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rendering.rb:10:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:20:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:113:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:166:in `block in halting' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:86:in `run_callbacks' actionpack (4.1.0.rc1) lib/abstract_controller/callbacks.rb:19:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/rescue.rb:29:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `block in instrument' activesupport (4.1.0.rc1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' activesupport (4.1.0.rc1) lib/active_support/notifications.rb:159:in `instrument' actionpack (4.1.0.rc1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' actionpack (4.1.0.rc1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' activerecord (4.1.0.rc1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' actionpack (4.1.0.rc1) lib/abstract_controller/base.rb:136:in `process' actionview (4.1.0.rc1) lib/action_view/rendering.rb:30:in `process' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:195:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' actionpack (4.1.0.rc1) lib/action_controller/metal.rb:231:in `block in action' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:48:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `public_send' railties (4.1.0.rc1) lib/rails/railtie.rb:194:in `method_missing' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:71:in `block in call' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `each' actionpack (4.1.0.rc1) lib/action_dispatch/journey/router.rb:59:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/routing/route_set.rb:676:in `call' rack (1.5.2) lib/rack/etag.rb:23:in `call' rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' rack (1.5.2) lib/rack/head.rb:11:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/flash.rb:254:in `call' rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/cookies.rb:551:in `call' activerecord (4.1.0.rc1) lib/active_record/query_cache.rb:36:in `call' activerecord (4.1.0.rc1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' activerecord (4.1.0.rc1) lib/active_record/migration.rb:380:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' activesupport (4.1.0.rc1) lib/active_support/callbacks.rb:82:in `run_callbacks' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/reloader.rb:73:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' railties (4.1.0.rc1) lib/rails/rack/logger.rb:38:in `call_app' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `block in call' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `block in tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:26:in `tagged' activesupport (4.1.0.rc1) lib/active_support/tagged_logging.rb:68:in `tagged' railties (4.1.0.rc1) lib/rails/rack/logger.rb:20:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/request_id.rb:21:in `call' rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' rack (1.5.2) lib/rack/runtime.rb:17:in `call' activesupport (4.1.0.rc1) lib/active_support/cache/strategy/local_cache.rb:87:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' actionpack (4.1.0.rc1) lib/action_dispatch/middleware/static.rb:64:in `call' rack (1.5.2) lib/rack/sendfile.rb:112:in `call' railties (4.1.0.rc1) lib/rails/engine.rb:515:in `call' railties (4.1.0.rc1) lib/rails/application.rb:142:in `call' rack (1.5.2) lib/rack/lock.rb:17:in `call' rack (1.5.2) lib/rack/content_length.rb:14:in `call' rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run' /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread' Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.2ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) Rendered /Users/jgorset/.rbenv/versions/2.0.0-p195/lib/ruby/gems/2.0.0/gems/actionpack-4.1.0.rc1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (11.0ms) Started GET "/knowledge_base/categories/rerumautconsequatur/articles/esseautemimpedit" for 127.0.0.1 at 2014-03-07 10:43:58 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"rerumautconsequatur", "id"=>"esseautemimpedit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'rerumautconsequatur' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.2ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" INNER JOIN "knowledge_base_category_article_associations" ON "knowledge_base_articles"."id" = "knowledge_base_category_article_associations"."article_id" WHERE "knowledge_base_category_article_associations"."category_id" = ? AND "knowledge_base_articles"."slug" = 'esseautemimpedit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.1ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.4ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.1ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (1.5ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::List::Item Load (0.1ms) SELECT "knowledge_base_sectionables_list_items".* FROM "knowledge_base_sectionables_list_items" WHERE "knowledge_base_sectionables_list_items"."list_id" = ? ORDER BY position ASC [["list_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb (1.1ms) KnowledgeBase::Sectionables::Links Load (0.1ms) SELECT "knowledge_base_sectionables_links".* FROM "knowledge_base_sectionables_links" WHERE "knowledge_base_sectionables_links"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Links::Link Load (0.1ms) SELECT "knowledge_base_sectionables_links_links".* FROM "knowledge_base_sectionables_links_links" WHERE "knowledge_base_sectionables_links_links"."links_id" = ? [["links_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/links/_links.html.erb (7.7ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (20.6ms) Completed 200 OK in 27ms (Views: 23.1ms | ActiveRecord: 1.4ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-07 10:43:58 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-07 10:43:58 +0100  (1.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.2ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627')  (2.0ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.8ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (1.0ms) 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 ('20140307092719')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627')  (2.6ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.6ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.8ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.6ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627')  (2.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.6ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.0ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) 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 ('20140307092719')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627')  (1.6ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.7ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.9ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.7ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627')  (2.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.8ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.6ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.9ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.7ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.6ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.8ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.8ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (0.6ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.6ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (1.0ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.9ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) 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 ('20140307092719')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627') Started GET "/knowledge_base/categories/rerumautconsequatur/articles/esseautemimpedit" for 127.0.0.1 at 2014-03-07 11:11:27 +0100 Processing by KnowledgeBase::ArticlesController#show as HTML Parameters: {"category_id"=>"rerumautconsequatur", "id"=>"esseautemimpedit"} KnowledgeBase::Category Load (0.2ms) SELECT "knowledge_base_categories".* FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'rerumautconsequatur' ORDER BY "knowledge_base_categories"."id" ASC LIMIT 1 KnowledgeBase::Article Load (0.1ms) SELECT "knowledge_base_articles".* FROM "knowledge_base_articles" INNER JOIN "knowledge_base_category_article_associations" ON "knowledge_base_articles"."id" = "knowledge_base_category_article_associations"."article_id" WHERE "knowledge_base_category_article_associations"."category_id" = ? AND "knowledge_base_articles"."slug" = 'esseautemimpedit' ORDER BY "knowledge_base_articles"."id" ASC LIMIT 1 [["category_id", 1]] KnowledgeBase::Section Load (0.1ms) SELECT "knowledge_base_sections".* FROM "knowledge_base_sections" WHERE "knowledge_base_sections"."container_id" = ? AND "knowledge_base_sections"."container_type" = ? ORDER BY position ASC [["container_id", 1], ["container_type", "KnowledgeBase::Article"]] KnowledgeBase::Sectionables::Text Load (0.1ms) SELECT "knowledge_base_sectionables_texts".* FROM "knowledge_base_sectionables_texts" WHERE "knowledge_base_sectionables_texts"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/texts/_text.html.erb (0.2ms) KnowledgeBase::Sectionables::Image Load (0.1ms) SELECT "knowledge_base_sectionables_images".* FROM "knowledge_base_sectionables_images" WHERE "knowledge_base_sectionables_images"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/images/_image.html.erb (0.7ms) KnowledgeBase::Sectionables::Video Load (0.1ms) SELECT "knowledge_base_sectionables_videos".* FROM "knowledge_base_sectionables_videos" WHERE "knowledge_base_sectionables_videos"."id" = ? LIMIT 1 [["id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/videos/_video.html.erb (0.2ms) KnowledgeBase::Sectionables::Gallery Load (0.1ms) SELECT "knowledge_base_sectionables_galleries".* FROM "knowledge_base_sectionables_galleries" WHERE "knowledge_base_sectionables_galleries"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Gallery::Image Load (0.1ms) SELECT "knowledge_base_sectionables_gallery_images".* FROM "knowledge_base_sectionables_gallery_images" WHERE "knowledge_base_sectionables_gallery_images"."gallery_id" = ? ORDER BY position DESC [["gallery_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/galleries/_gallery.html.erb (2.1ms) KnowledgeBase::Sectionables::List Load (0.1ms) SELECT "knowledge_base_sectionables_lists".* FROM "knowledge_base_sectionables_lists" WHERE "knowledge_base_sectionables_lists"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::List::Item Load (0.1ms) SELECT "knowledge_base_sectionables_list_items".* FROM "knowledge_base_sectionables_list_items" WHERE "knowledge_base_sectionables_list_items"."list_id" = ? ORDER BY position ASC [["list_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/lists/_list.html.erb (1.8ms) KnowledgeBase::Sectionables::Links Load (0.1ms) SELECT "knowledge_base_sectionables_links".* FROM "knowledge_base_sectionables_links" WHERE "knowledge_base_sectionables_links"."id" = ? LIMIT 1 [["id", 1]] KnowledgeBase::Sectionables::Links::Link Load (0.1ms) SELECT "knowledge_base_sectionables_links_links".* FROM "knowledge_base_sectionables_links_links" WHERE "knowledge_base_sectionables_links_links"."links_id" = ? [["links_id", 1]] Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/sectionables/links/_links.html.erb (1.8ms) Rendered /Users/jgorset/code/ruby/knowledge_base/app/views/knowledge_base/articles/show.html.erb within layouts/knowledge_base/application (33.5ms) Completed 200 OK in 40ms (Views: 35.6ms | ActiveRecord: 1.3ms) Started GET "/assets/knowledge_base/application.css?body=1" for 127.0.0.1 at 2014-03-07 11:11:27 +0100 Started GET "/assets/knowledge_base/application.js?body=1" for 127.0.0.1 at 2014-03-07 11:11:27 +0100  (1.2ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id")  (0.9ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.6ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug")  (0.6ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'  (0.7ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id")  (0.7ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  (0.7ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id")  (1.7ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime)  (0.9ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)   (0.7ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.8ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "container_id" integer, "container_type" varchar(255))   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.8ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092719')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303102920')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140303152945')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140305134249')  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306103853')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306123236')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134124')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306134616')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306162143')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306181906')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194339')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306194600')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306200631')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140306210259')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307080616')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20140307092627') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction KnowledgeBase::Category Exists (0.2ms) SELECT 1 AS one FROM "knowledge_base_categories" WHERE "knowledge_base_categories"."slug" = 'sedautlabore' LIMIT 1 SQL (0.4ms) INSERT INTO "knowledge_base_categories" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 11:00:05.672361"], ["description", "Aut quo assumenda est labore consectetur blanditiis eum."], ["slug", "sedautlabore"], ["title", "sedautlabore"], ["updated_at", "2014-03-07 11:00:05.672361"]]  (0.8ms) commit transaction  (0.1ms) begin transaction KnowledgeBase::Article Exists (0.1ms) SELECT 1 AS one FROM "knowledge_base_articles" WHERE "knowledge_base_articles"."slug" = 'vitaequiporro' LIMIT 1 SQL (0.2ms) INSERT INTO "knowledge_base_articles" ("created_at", "description", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 11:00:05.688147"], ["description", "Animi ut aut velit sunt dignissimos totam provident."], ["slug", "vitaequiporro"], ["title", "vitaequiporro"], ["updated_at", "2014-03-07 11:00:05.688147"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_category_article_associations" ("article_id", "category_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["article_id", 1], ["category_id", 1], ["created_at", "2014-03-07 11:00:05.699546"], ["updated_at", "2014-03-07 11:00:05.699546"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_texts" ("body", "created_at", "heading", "lead", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Adipisci ut accusamus. Nemo et provident accusamus. Blanditiis vel voluptatem delectus. Suscipit id quibusdam culpa quo ducimus rerum molestiae."], ["created_at", "2014-03-07 11:00:05.710825"], ["heading", "corruptivelitnulla"], ["lead", "Sint molestiae fuga non."], ["updated_at", "2014-03-07 11:00:05.710825"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 11:00:05.720408"], ["position", 1], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Text"], ["updated_at", "2014-03-07 11:00:05.720408"]]  (1.0ms) commit transaction  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "knowledge_base_sectionables_images" ("caption", "created_at", "image", "updated_at") VALUES (?, ?, ?, ?) [["caption", "Rem earum qui architecto molestiae a ex."], ["created_at", "2014-03-07 11:00:05.763939"], ["image", "parrot.png"], ["updated_at", "2014-03-07 11:00:05.763939"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 11:00:05.767650"], ["position", 2], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Image"], ["updated_at", "2014-03-07 11:00:05.767650"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_videos" ("created_at", "updated_at", "url") VALUES (?, ?, ?) [["created_at", "2014-03-07 11:00:05.773407"], ["updated_at", "2014-03-07 11:00:05.773407"], ["url", "http://www.youtube.com/watch?v=9zp6NGhOjiU"]]  (0.8ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 11:00:05.775732"], ["position", 3], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Video"], ["updated_at", "2014-03-07 11:00:05.775732"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_galleries" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 11:00:05.782940"], ["description", "Velit tempora voluptas quis."], ["title", "Esse animi minus aut necessitatibus maxime veritatis ex."], ["updated_at", "2014-03-07 11:00:05.782940"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.7ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Sed ut ut molestias velit harum."], ["created_at", "2014-03-07 11:00:05.800983"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 11:00:05.800983"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_gallery_images" ("caption", "created_at", "gallery_id", "image", "updated_at") VALUES (?, ?, ?, ?, ?) [["caption", "Voluptatem sed aperiam reprehenderit eveniet."], ["created_at", "2014-03-07 11:00:05.806229"], ["gallery_id", 1], ["image", "parrot.png"], ["updated_at", "2014-03-07 11:00:05.806229"]]  (0.9ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 11:00:05.809235"], ["position", 4], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Gallery"], ["updated_at", "2014-03-07 11:00:05.809235"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_lists" ("created_at", "description", "title", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-03-07 11:00:05.816795"], ["description", "Id aut quibusdam sit ut ut nulla. Velit vitae quo est repudiandae aut. Fuga molestias vitae doloremque. Dicta odit aut quam."], ["title", "In deleniti aspernatur amet id."], ["updated_at", "2014-03-07 11:00:05.816795"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Exercitationem natus qui fuga qui nesciunt. Et alias laboriosam dolore ducimus tenetur incidunt. Rerum sequi id. Ea voluptas qui modi eligendi consequuntur. Nam aut sint."], ["created_at", "2014-03-07 11:00:05.826357"], ["list_id", 1], ["title", "Quisquam quasi voluptatum est sed consectetur doloremque quo."], ["updated_at", "2014-03-07 11:00:05.826357"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_list_items" ("body", "created_at", "list_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", "Fugit reprehenderit facilis qui qui suscipit. Placeat et est nobis non tempore commodi. Possimus quis necessitatibus consectetur. Cumque sit voluptas et ut earum."], ["created_at", "2014-03-07 11:00:05.829155"], ["list_id", 1], ["title", "Dolor quia quod dolore."], ["updated_at", "2014-03-07 11:00:05.829155"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 11:00:05.831260"], ["position", 5], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::List"], ["updated_at", "2014-03-07 11:00:05.831260"]]  (0.8ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_links" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-03-07 11:00:05.835767"], ["updated_at", "2014-03-07 11:00:05.835767"]]  (0.7ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "knowledge_base_sectionables_links_links" ("created_at", "links_id", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 11:00:05.848388"], ["links_id", 1], ["title", "adipisci"], ["updated_at", "2014-03-07 11:00:05.848388"], ["url", "http://example.org"]]  (0.7ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sectionables_links_links" ("created_at", "links_id", "title", "updated_at", "url") VALUES (?, ?, ?, ?, ?) [["created_at", "2014-03-07 11:00:05.851022"], ["links_id", 1], ["title", "et"], ["updated_at", "2014-03-07 11:00:05.851022"], ["url", "http://example.org"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "knowledge_base_sections" ("container_id", "container_type", "created_at", "position", "sectionable_id", "sectionable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["container_id", 1], ["container_type", "KnowledgeBase::Article"], ["created_at", "2014-03-07 11:00:05.853014"], ["position", 6], ["sectionable_id", 1], ["sectionable_type", "KnowledgeBase::Sectionables::Links"], ["updated_at", "2014-03-07 11:00:05.853014"]]  (0.8ms) commit transaction  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (1.1ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug") SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303102920"]]  (1.0ms) commit transaction Migrating to CreateKnowledgeBaseArticles (20140303152945)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303152945"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140305134249"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306103853"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306123236"]]  (0.7ms) commit transaction Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "knowledge_base_sections" ADD "article_id" integer  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134124"]]  (0.7ms) commit transaction Migrating to RemoveKindFromSections (20140306134616)  (0.1ms) begin transaction  (0.3ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime, "article_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.0ms) SELECT * FROM "knowledge_base_sections"  (0.2ms) DROP TABLE "knowledge_base_sections"  (0.1ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id")  (0.0ms) SELECT * FROM "aknowledge_base_sections"  (0.3ms) DROP TABLE "aknowledge_base_sections" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134616"]]  (1.2ms) commit transaction Migrating to PolymorphizeSections (20140306162143)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.2ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.3ms) DROP TABLE "knowledge_base_sections"  (0.1ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.0ms) SELECT * FROM "aknowledge_base_sections"  (0.1ms) DROP TABLE "aknowledge_base_sections"  (0.2ms) ALTER TABLE "knowledge_base_sections" ADD "container_id" integer  (0.1ms) ALTER TABLE "knowledge_base_sections" ADD "container_type" varchar(255)  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306162143"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesVideos (20140306181906)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306181906"]]  (0.5ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesGalleries (20140306194339)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306194339"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesGalleryImages (20140306194600)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306194600"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesLists (20140306200631)  (0.0ms) begin transaction  (0.2ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306200631"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesListItems (20140306210259)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306210259"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseCategoryArticleAssociations (20140307080616)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.3ms) rollback transaction  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateKnowledgeBaseCategories (20140303102920)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "knowledge_base_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "position" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_categories_on_category_id" ON "knowledge_base_categories" ("category_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (1.1ms) CREATE UNIQUE INDEX "index_knowledge_base_categories_on_slug" ON "knowledge_base_categories" ("slug") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303102920"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseArticles (20140303152945)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_articles_on_category_id" ON "knowledge_base_articles" ("category_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140303152945"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSections (20140305134249)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140305134249"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesTexts (20140306103853)  (0.1ms) begin transaction  (0.2ms) CREATE TABLE "knowledge_base_sectionables_texts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "heading" varchar(255), "lead" text, "body" text, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306103853"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesImages (20140306123236)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" text, "image" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306123236"]]  (0.7ms) commit transaction Migrating to AddArticleIdToSections (20140306134124)  (0.1ms) begin transaction  (0.3ms) ALTER TABLE "knowledge_base_sections" ADD "article_id" integer  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134124"]]  (0.6ms) commit transaction Migrating to RemoveKindFromSections (20140306134616)  (0.1ms) begin transaction  (0.4ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "kind" varchar(255), "created_at" datetime, "updated_at" datetime, "article_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.0ms) SELECT * FROM "knowledge_base_sections"  (0.3ms) DROP TABLE "knowledge_base_sections"  (0.1ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_article_id" ON "knowledge_base_sections" ("article_id")  (0.0ms) SELECT * FROM "aknowledge_base_sections"  (0.3ms) DROP TABLE "aknowledge_base_sections" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306134616"]]  (1.0ms) commit transaction Migrating to PolymorphizeSections (20140306162143)  (0.1ms) begin transaction  (0.2ms) CREATE TEMPORARY TABLE "aknowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime, "article_id" integer)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_article_id" ON "aknowledge_base_sections" ("article_id")  (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_sections_on_sectionable" ON "aknowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.1ms) SELECT * FROM "knowledge_base_sections"  (0.3ms) DROP TABLE "knowledge_base_sections"  (0.1ms) CREATE TABLE "knowledge_base_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sectionable_id" integer, "sectionable_type" varchar(255), "position" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_sectionable' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_sections_on_article_id' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_sectionable" ON "knowledge_base_sections" ("sectionable_id", "sectionable_type")  (0.0ms) SELECT * FROM "aknowledge_base_sections"  (0.1ms) DROP TABLE "aknowledge_base_sections"  (0.1ms) ALTER TABLE "knowledge_base_sections" ADD "container_id" integer  (0.1ms) ALTER TABLE "knowledge_base_sections" ADD "container_type" varchar(255)  (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'  (0.1ms) CREATE INDEX "index_knowledge_base_sections_on_container" ON "knowledge_base_sections" ("container_id", "container_type") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306162143"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesVideos (20140306181906)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306181906"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesGalleries (20140306194339)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_galleries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306194339"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesGalleryImages (20140306194600)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_gallery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "caption" varchar(255), "image" varchar(255), "position" integer, "gallery_id" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_gallery_images_on_gallery_id" ON "knowledge_base_sectionables_gallery_images" ("gallery_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306194600"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesLists (20140306200631)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_lists" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306200631"]]  (0.7ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesListItems (20140306210259)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_list_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "body" text, "position" integer, "list_id" integer, "created_at" datetime, "updated_at" datetime)  (0.1ms) CREATE INDEX "index_knowledge_base_sectionables_list_items_on_list_id" ON "knowledge_base_sectionables_list_items" ("list_id") SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140306210259"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseCategoryArticleAssociations (20140307080616)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_category_article_associations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_id" integer, "article_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_category_id" ON "knowledge_base_category_article_associations" ("category_id")  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'   (0.1ms) CREATE INDEX "index_knowledge_base_c_a_association_on_article_id" ON "knowledge_base_category_article_associations" ("article_id")  (0.1ms) CREATE TEMPORARY TABLE "aknowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "category_id" integer, "published_at" datetime, "created_at" datetime, "updated_at" datetime)   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_articles_on_category_id' AND type='index'  (0.1ms) CREATE INDEX "tindex_aknowledge_base_articles_on_category_id" ON "aknowledge_base_articles" ("category_id")  (0.0ms) SELECT * FROM "knowledge_base_articles"  (0.4ms) DROP TABLE "knowledge_base_articles"  (0.1ms) CREATE TABLE "knowledge_base_articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "slug" varchar(255), "description" text, "published_at" datetime, "created_at" datetime, "updated_at" datetime)  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='tindex_aknowledge_base_articles_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='tindex_aknowledge_base_articles_on_category_id' AND type='index'   (0.0ms) SELECT * FROM "aknowledge_base_articles"  (0.1ms) DROP TABLE "aknowledge_base_articles" SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140307080616"]]  (0.9ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesLinks (20140307092627)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140307092627"]]  (0.8ms) commit transaction Migrating to CreateKnowledgeBaseSectionablesLinksLinks (20140307092719)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "knowledge_base_sectionables_links_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "url" varchar(255), "position" integer, "links_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140307092719"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_slug' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_categories_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_article_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_c_a_association_on_category_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_gallery_images_on_gallery_id' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sectionables_list_items_on_list_id' AND type='index'  (0.1ms)  SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_container' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_container' AND type='index'   (0.1ms) SELECT sql FROM sqlite_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index' UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_knowledge_base_sections_on_sectionable' AND type='index'