(0.1ms) select sqlite_version(*)  (99.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.1ms) PRAGMA index_list("schema_migrations")  (105.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to CreatePageEngine (20110814185929)  (0.6ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "meta_description" text, "meta_keywords" text, "status" varchar(255), "publish_from" datetime, "publish_to" datetime, "created_by" integer, "permalink" varchar(255), "url" varchar(255), "display_in_menu" boolean DEFAULT 't', "display_in_sitemap" boolean DEFAULT 't', "menu_css_class" varchar(255), "no_link" boolean DEFAULT 'f', "controller" varchar(255), "action" varchar(255), "layout" varchar(255), "js" text, "css" text, "parent_id" integer, "lft" integer, "rgt" integer, "authorable_type" varchar(255), "authorable_id" integer, "created_at" datetime, "updated_at" datetime)  (0.2ms) CREATE TABLE "page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "page_id" integer, "filter" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) CREATE TABLE "pages_roles" ("page_id" integer, "role_id" integer)  (0.2ms) CREATE TABLE "page_snippets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "filter" varchar(255), "content" text, "created_at" datetime, "updated_at" datetime)   (0.2ms) CREATE TABLE "page_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "page_id" integer, "required_role_id" integer, "excluded_role_id" integer)  (0.0ms) PRAGMA index_list("pages")  (0.3ms) CREATE INDEX "index_pages_on_permalink" ON "pages" ("permalink")  (0.1ms) PRAGMA index_list("pages")  (0.1ms) PRAGMA index_info('index_pages_on_permalink')  (0.3ms) CREATE INDEX "index_pages_on_controller_and_action" ON "pages" ("controller", "action")  (0.1ms) PRAGMA index_list("pages")  (0.1ms) PRAGMA index_info('index_pages_on_controller_and_action')  (0.1ms) PRAGMA index_info('index_pages_on_permalink')  (0.2ms) CREATE INDEX "index_pages_on_url" ON "pages" ("url")  (0.1ms) PRAGMA index_list("page_snippets")  (0.2ms) CREATE INDEX "index_page_snippets_on_name" ON "page_snippets" ("name")  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110814185929')  (0.4ms) select sqlite_version(*)  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  (0.0ms) PRAGMA index_list("page_parts")  (0.0ms) PRAGMA index_list("page_roles")  (0.0ms) PRAGMA index_list("page_snippets")  (0.0ms) PRAGMA index_info('index_page_snippets_on_name')  (0.0ms) PRAGMA index_list("pages")  (0.0ms) PRAGMA index_info('index_pages_on_url')  (0.0ms) PRAGMA index_info('index_pages_on_controller_and_action')  (0.1ms) PRAGMA index_info('index_pages_on_permalink')  (0.0ms) PRAGMA index_list("pages_roles") Started GET "/admin/pages/" for 127.0.0.1 at 2011-08-24 20:50:18 +0100 DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /home/mark/dev/personal/page_engine/app/models/page.rb:2) Processing by Admin::PagesController#index as HTML Page Load (0.3ms) SELECT "pages".* FROM "pages" ORDER BY lft Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page.html.haml (17.5ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/index.html.haml within layouts/admin (35.0ms) Completed 200 OK in 156ms (Views: 98.8ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2011-08-24 20:50:18 +0100 Compiled ~/dev/personal/page_engine/app/assets/stylesheets/page_engine.css (11ms) (pid 9966) Compiled ~/dev/personal/page_engine/app/assets/stylesheets/jquery-ui.css (0ms) (pid 9966) Error compiling asset application.css: Sprockets::FileNotFound: couldn't find file 'jquery-ui/smoothness/jquery-ui-1.8.15.custom' (in /home/mark/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css:7) Served asset /application.css - 500 Internal Server Error Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-24 20:50:19 +0100 Served asset /application.js - 200 OK (88ms) Started GET "/admin/pages/" for 127.0.0.1 at 2011-08-24 20:51:09 +0100 DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /home/mark/dev/personal/page_engine/app/models/page.rb:2) Processing by Admin::PagesController#index as HTML Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page.html.haml (3.5ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/index.html.haml within layouts/admin (41.0ms) Completed 200 OK in 70ms (Views: 46.7ms | ActiveRecord: 0.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2011-08-24 20:51:09 +0100 Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (2ms) (pid 9966) Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (0ms) (pid 9966) Served asset /application.css - 200 OK (17ms) Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-24 20:51:09 +0100 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/page_engine/page_red.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100 Served asset /page_engine/page_red.png - 304 Not Modified (14ms) Started GET "/assets/page_engine/page_add.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100 Served asset /page_engine/page_add.png - 304 Not Modified (6ms) Started GET "/assets/page_engine/page_edit.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100 Served asset /page_engine/page_edit.png - 304 Not Modified (9ms) Started GET "/assets/page_engine/page_delete.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100 Served asset /page_engine/page_delete.png - 304 Not Modified (2ms) Started GET "/assets/page_engine/page_copy.png" for 127.0.0.1 at 2011-08-24 20:51:09 +0100 Served asset /page_engine/page_copy.png - 304 Not Modified (2ms) Started GET "/admin/pages/test/edit" for 127.0.0.1 at 2011-08-24 20:51:36 +0100 DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /home/mark/dev/personal/page_engine/app/models/page.rb:2) Processing by Admin::PagesController#edit as HTML Parameters: {"id"=>"test"} Page Load (0.2ms) SELECT controller || '|' || action as taken FROM "pages" GROUP BY taken Page Load (0.2ms) SELECT "pages".* FROM "pages" WHERE "pages"."permalink" = 'test' LIMIT 1 PagePart Load (0.3ms) SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."page_id" IN (1) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (13.9ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (12.0ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.5ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.1ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (47.6ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.1ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_form.html.haml (635.9ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/edit.html.haml within layouts/admin (640.4ms) Completed 200 OK in 796ms (Views: 647.3ms | ActiveRecord: 1.4ms) Started GET "/assets/application.css" for 127.0.0.1 at 2011-08-24 20:51:37 +0100 Compiled ~/dev/personal/page_engine/app/assets/stylesheets/page_engine.css (11ms) (pid 9966) Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (2ms) (pid 9966) Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (0ms) (pid 9966) Served asset /application.css - 200 OK (32ms) Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-24 20:51:37 +0100 Served asset /application.js - 304 Not Modified (0ms) Started GET "/assets/jquery-ui/ui-bg_flat_75_ffffff_40x100.png" for 127.0.0.1 at 2011-08-24 20:51:38 +0100 Served asset /jquery-ui/ui-bg_flat_75_ffffff_40x100.png - 200 OK (10ms) Started GET "/assets/jquery-ui/ui-bg_glass_65_ffffff_1x400.png" for 127.0.0.1 at 2011-08-24 20:51:38 +0100 Served asset /jquery-ui/ui-bg_glass_65_ffffff_1x400.png - 200 OK (3ms) Started GET "/assets/jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png" for 127.0.0.1 at 2011-08-24 20:51:38 +0100 Served asset /jquery-ui/ui-bg_highlight-soft_75_cccccc_1x100.png - 200 OK (4ms) Started GET "/assets/jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png" for 127.0.0.1 at 2011-08-24 20:51:38 +0100 Served asset /jquery-ui/ui-bg_glass_75_e6e6e6_1x400.png - 200 OK (4ms) Started GET "/admin/pages/test-2/edit" for 127.0.0.1 at 2011-08-24 20:56:53 +0100 DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /home/mark/dev/personal/page_engine/app/models/page.rb:2) Processing by Admin::PagesController#edit as HTML Parameters: {"id"=>"test-2"} Page Load (0.3ms) SELECT controller || '|' || action as taken FROM "pages" GROUP BY taken Page Load (0.2ms) SELECT "pages".* FROM "pages" WHERE "pages"."permalink" = 'test-2' LIMIT 1 Completed 500 Internal Server Error in 73ms NoMethodError (undefined method `parent' for nil:NilClass): Rendered /home/mark/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms) Rendered /home/mark/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) Rendered /home/mark/.rvm/gems/ruby-1.9.2-p180/gems/actionpack-3.1.0.rc6/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (6.2ms) Started GET "/admin/" for 127.0.0.1 at 2011-08-24 20:56:58 +0100 DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /home/mark/dev/personal/page_engine/app/models/page.rb:2) Processing by Admin::PagesController#index as HTML Page Load (0.2ms) SELECT "pages".* FROM "pages" ORDER BY lft Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page.html.haml (17.7ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/index.html.haml within layouts/admin (35.3ms) Completed 200 OK in 70ms (Views: 45.7ms | ActiveRecord: 0.5ms) Started GET "/assets/application.css" for 127.0.0.1 at 2011-08-24 20:56:58 +0100 Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (2ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/stylesheets/page_engine.css (22ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/stylesheets/jquery-ui.css (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/skins/simple/style.css (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/html/style.css (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/textile/style.css (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/markdown/style.css (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/css/style.css (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/stylesheets/markitup/sets/javascript/style.css (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/stylesheets/application.css (0ms) (pid 10157) Served asset /application.css - 200 OK (100ms) Started GET "/assets/application.js" for 127.0.0.1 at 2011-08-24 20:56:59 +0100 Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/javascripts/application.js (5ms) (pid 10157) Compiled ~/.rvm/gems/ruby-1.9.2-p180/gems/jquery-rails-1.0.13/vendor/assets/javascripts/jquery.js (1ms) (pid 10157) Compiled ~/.rvm/gems/ruby-1.9.2-p180/gems/jquery-rails-1.0.13/vendor/assets/javascripts/jquery_ujs.js (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/javascripts/page_engine.js (12ms) (pid 10157) Compiled ~/dev/personal/page_engine/vendor/assets/javascripts/jquery-ui-1.8.15.custom.min.js (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/vendor/assets/javascripts/jquery.markitup.js (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/html/set.js (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/textile/set.js (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/markdown/set.js (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/css/set.js (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/app/assets/javascripts/markitup/sets/javascript/set.js (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/vendor/assets/javascripts/jquery.ui.nestedSortable.js (0ms) (pid 10157) Compiled ~/dev/personal/page_engine/spec/dummy/app/assets/javascripts/application.js (0ms) (pid 10157) Served asset /application.js - 200 OK (143ms) Started GET "/admin/pages/test/edit" for 127.0.0.1 at 2011-08-24 20:57:01 +0100 DEPRECATION WARNING: class_inheritable_attribute is deprecated, please use class_attribute method instead. Notice their behavior are slightly different, so refer to class_attribute documentation first. (called from at /home/mark/dev/personal/page_engine/app/models/page.rb:2) Processing by Admin::PagesController#edit as HTML Parameters: {"id"=>"test"} Page Load (0.2ms) SELECT controller || '|' || action as taken FROM "pages" GROUP BY taken Page Load (0.2ms) SELECT "pages".* FROM "pages" WHERE "pages"."permalink" = 'test' LIMIT 1 PagePart Load (0.2ms) SELECT "page_parts".* FROM "page_parts" WHERE "page_parts"."page_id" IN (1) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (13.5ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.5ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (11.3ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (12.6ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (54.1ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_page_part_fields.html.haml (12.5ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/_form.html.haml (635.6ms) Rendered /home/mark/dev/personal/page_engine/app/views/admin/pages/edit.html.haml within layouts/admin (640.3ms) Completed 200 OK in 783ms (Views: 646.5ms | ActiveRecord: 1.2ms)