test/dummy/log/development.log in qwerty-0.0.5.pre vs test/dummy/log/development.log in qwerty-0.0.7.pre

- old
+ new

@@ -97775,5 +97775,703 @@ Rendered /Users/kris/.rvm/gems/ruby-1.8.7-p352@qwerty/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (53.9ms) Rendered /Users/kris/.rvm/gems/ruby-1.8.7-p352@qwerty/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms) Rendered /Users/kris/.rvm/gems/ruby-1.8.7-p352@qwerty/gems/actionpack-3.1.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (58.8ms) +DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from block (2 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:5) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :input, :wrap_with => {:class=>"xxlarge"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:6) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>:div, :class=>"help-block"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:7) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>:span, :class=>"help-inline"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:8) + + +Started GET "/" for 127.0.0.1 at 2013-02-04 21:55:08 +0000 +Creating scope :public. Overwriting existing method Document.public. +Processing by DocumentsController#show as HTML + Document Load (1.1ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/home' LIMIT 1 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 46 ORDER BY position ASC LIMIT 1 +  (0.3ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 46 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`parent_id` = 46 ORDER BY position ASC, `lft` + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 48 AND `node_settings`.`key` = 'sort' LIMIT 1 + Document Load (1.1ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 48 AND `documents`.`published` = 1 ORDER BY position asc +Completed 500 Internal Server Error in 196ms + +NoMethodError (undefined method `page' for #<ActiveRecord::Relation:0x00000103472eb8>): + activerecord (3.2.1) lib/active_record/relation/delegation.rb:45:in `method_missing' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:25:in `block in prepare_view_environment' + activerecord (3.2.1) lib/active_record/associations/collection_proxy.rb:90:in `each' + activerecord (3.2.1) lib/active_record/associations/collection_proxy.rb:90:in `method_missing' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:23:in `prepare_view_environment' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:12:in `show' + actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__3128778958467165672__process_action__10581465599840294__callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' + activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' + activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' + activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' + journey (1.0.3) lib/journey/router.rb:68:in `block in call' + journey (1.0.3) lib/journey/router.rb:56:in `each' + journey (1.0.3) lib/journey/router.rb:56:in `call' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' + dragonfly (0.9.13) lib/dragonfly/cookie_monster.rb:9:in `call' + activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' + activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' + activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3849720946538885515__call__4407641262368512829__callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' + dragonfly (0.9.13) lib/dragonfly/middleware.rb:13:in `call' + rack-cache (1.1) lib/rack/cache/context.rb:132:in `forward' + rack-cache (1.1) lib/rack/cache/context.rb:241:in `fetch' + rack-cache (1.1) lib/rack/cache/context.rb:181:in `lookup' + rack-cache (1.1) lib/rack/cache/context.rb:65:in `call!' + rack-cache (1.1) lib/rack/cache/context.rb:50:in `call' + railties (3.2.1) lib/rails/engine.rb:479:in `call' + railties (3.2.1) lib/rails/application.rb:220:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' + + + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms) + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.4ms) + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.5ms) +DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from block (2 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:5) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :input, :wrap_with => {:class=>"xxlarge"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:6) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>:div, :class=>"help-block"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:7) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>:span, :class=>"help-inline"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:8) +DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from block (2 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:5) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :input, :wrap_with => {:class=>"xxlarge"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:6) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>:div, :class=>"help-block"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:7) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>:span, :class=>"help-inline"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:8) + + +Started GET "/" for 127.0.0.1 at 2013-02-04 22:00:16 +0000 +Creating scope :public. Overwriting existing method Document.public. +Processing by DocumentsController#show as HTML + Document Load (0.5ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/home' LIMIT 1 + Node Load (0.3ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 46 ORDER BY position ASC LIMIT 1 +  (0.4ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 46 + Node Load (1.6ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`parent_id` = 46 ORDER BY position ASC, `lft` + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 48 AND `node_settings`.`key` = 'sort' LIMIT 1 + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 48 AND `documents`.`published` = 1 ORDER BY position asc +Completed 500 Internal Server Error in 178ms + +NoMethodError (undefined method `page' for #<ActiveRecord::Relation:0x00000103bc7ab0>): + activerecord (3.2.1) lib/active_record/relation/delegation.rb:45:in `method_missing' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:25:in `block in prepare_view_environment' + activerecord (3.2.1) lib/active_record/associations/collection_proxy.rb:90:in `each' + activerecord (3.2.1) lib/active_record/associations/collection_proxy.rb:90:in `method_missing' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:23:in `prepare_view_environment' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:12:in `show' + actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__2135060775359170039__process_action__2639724006127279167__callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' + activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' + activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' + activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' + journey (1.0.3) lib/journey/router.rb:68:in `block in call' + journey (1.0.3) lib/journey/router.rb:56:in `each' + journey (1.0.3) lib/journey/router.rb:56:in `call' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' + dragonfly (0.9.13) lib/dragonfly/cookie_monster.rb:9:in `call' + activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' + activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' + activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__3166848776905220099__call__835902949772095955__callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' + dragonfly (0.9.13) lib/dragonfly/middleware.rb:13:in `call' + rack-cache (1.1) lib/rack/cache/context.rb:132:in `forward' + rack-cache (1.1) lib/rack/cache/context.rb:241:in `fetch' + rack-cache (1.1) lib/rack/cache/context.rb:181:in `lookup' + rack-cache (1.1) lib/rack/cache/context.rb:65:in `call!' + rack-cache (1.1) lib/rack/cache/context.rb:50:in `call' + railties (3.2.1) lib/rails/engine.rb:479:in `call' + railties (3.2.1) lib/rails/application.rb:220:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' + + + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.7ms) + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.4ms) +DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in ActionView::Base instead. (called from <top (required)> at /Users/kris/Code/qwerty/test/dummy/config/environment.rb:5) +DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from block (2 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:5) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :input, :wrap_with => {:class=>"xxlarge"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:6) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>:div, :class=>"help-block"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:7) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>:span, :class=>"help-inline"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:8) + + +Started GET "/" for 127.0.0.1 at 2013-02-04 22:01:48 +0000 +DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in #<Module:0x000001013a7508> instead. (called from <top (required)> at /Users/kris/Code/qwerty/app/models/document.rb:1) +DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in #<Module:0x000001013a7508> instead. (called from <top (required)> at /Users/kris/Code/qwerty/app/models/document.rb:1) +Creating scope :public. Overwriting existing method Document.public. +Processing by DocumentsController#show as HTML + Document Load (1.0ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/home' LIMIT 1 +Completed 500 Internal Server Error in 39ms + +NoMethodError (undefined method `synchronize' for nil:NilClass): + activerecord (3.2.1) lib/active_record/attribute_methods.rb:41:in `define_attribute_methods' + activerecord (3.2.1) lib/active_record/attribute_methods.rb:145:in `respond_to?' + activesupport (3.2.1) lib/active_support/callbacks.rb:398:in `__run_callback' + activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_find_callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + activerecord (3.2.1) lib/active_record/base.rb:520:in `init_with' + activerecord (3.2.1) lib/active_record/inheritance.rb:76:in `instantiate' + activerecord (3.2.1) lib/active_record/querying.rb:38:in `block (2 levels) in find_by_sql' + activerecord (3.2.1) lib/active_record/querying.rb:38:in `collect!' + activerecord (3.2.1) lib/active_record/querying.rb:38:in `block in find_by_sql' + activerecord (3.2.1) lib/active_record/explain.rb:40:in `logging_query_plan' + activerecord (3.2.1) lib/active_record/querying.rb:37:in `find_by_sql' + activerecord (3.2.1) lib/active_record/relation.rb:170:in `exec_queries' + activerecord (3.2.1) lib/active_record/relation.rb:159:in `block in to_a' + activerecord (3.2.1) lib/active_record/explain.rb:40:in `logging_query_plan' + activerecord (3.2.1) lib/active_record/relation.rb:158:in `to_a' + activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:377:in `find_first' + activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:122:in `first' + activerecord (3.2.1) lib/active_record/relation/finder_methods.rb:263:in `find_by_attributes' + activerecord (3.2.1) lib/active_record/dynamic_matchers.rb:45:in `method_missing' + activerecord (3.2.1) lib/active_record/relation/delegation.rb:40:in `block in method_missing' + activerecord (3.2.1) lib/active_record/relation.rb:240:in `block in scoping' + activerecord (3.2.1) lib/active_record/scoping.rb:98:in `with_scope' + activerecord (3.2.1) lib/active_record/relation.rb:240:in `scoping' + activerecord (3.2.1) lib/active_record/relation/delegation.rb:40:in `method_missing' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:11:in `show' + actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.1) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (3.2.1) lib/active_support/callbacks.rb:414:in `_run__1755949170479144133__process_action__1349576673103451454__callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' + activesupport (3.2.1) lib/active_support/notifications.rb:123:in `block in instrument' + activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.1) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in `process_action' + activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (3.2.1) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.1) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.1) lib/action_controller/metal.rb:246:in `block in action' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `call' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in `dispatch' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:in `call' + journey (1.0.3) lib/journey/router.rb:68:in `block in call' + journey (1.0.3) lib/journey/router.rb:56:in `each' + journey (1.0.3) lib/journey/router.rb:56:in `call' + actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in `call' + dragonfly (0.9.13) lib/dragonfly/cookie_monster.rb:9:in `call' + activerecord (3.2.1) lib/active_record/query_cache.rb:64:in `call' + activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' + activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `_run__4188701664760039689__call__2242496590611351226__callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.1) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app' + railties (3.2.1) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call' + dragonfly (0.9.13) lib/dragonfly/middleware.rb:13:in `call' + rack-cache (1.1) lib/rack/cache/context.rb:132:in `forward' + rack-cache (1.1) lib/rack/cache/context.rb:241:in `fetch' + rack-cache (1.1) lib/rack/cache/context.rb:181:in `lookup' + rack-cache (1.1) lib/rack/cache/context.rb:65:in `call!' + rack-cache (1.1) lib/rack/cache/context.rb:50:in `call' + railties (3.2.1) lib/rails/engine.rb:479:in `call' + railties (3.2.1) lib/rails/application.rb:220:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' + + + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.4ms) + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (9.0ms) +Connecting to database specified by database.yml +DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from block (2 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:5) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :input, :wrap_with => {:class=>"xxlarge"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:6) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>:div, :class=>"help-block"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:7) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>:span, :class=>"help-inline"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:8) + + +Started GET "/" for 127.0.0.1 at 2013-02-04 22:04:10 +0000 +Creating scope :public. Overwriting existing method Document.public. +Processing by DocumentsController#show as HTML + Document Load (0.5ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/home' LIMIT 1 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 46 ORDER BY position ASC LIMIT 1 +  (0.3ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 46 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`parent_id` = 46 ORDER BY position ASC, `lft` + NodeSetting Load (2.8ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 48 AND `node_settings`.`key` = 'sort' LIMIT 1 + Document Load (1.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 48 AND `documents`.`published` = 1 ORDER BY position asc +Completed 500 Internal Server Error in 202ms + +NoMethodError (undefined method `page' for #<ActiveRecord::Relation:0x000001019ec3f0>): + activerecord (3.2.11) lib/active_record/relation/delegation.rb:45:in `method_missing' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:25:in `block in prepare_view_environment' + activerecord (3.2.11) lib/active_record/associations/collection_proxy.rb:89:in `each' + activerecord (3.2.11) lib/active_record/associations/collection_proxy.rb:89:in `method_missing' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:23:in `prepare_view_environment' + /Users/kris/Code/qwerty/app/controllers/documents_controller.rb:12:in `show' + actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (3.2.11) lib/active_support/callbacks.rb:414:in `_run__2283295264391617723__process_action__2138799478248758443__callbacks' + activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' + activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument' + activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.11) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (3.2.11) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.11) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.11) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.11) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.11) lib/action_controller/metal.rb:246:in `block in action' + actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `block in call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.11) lib/action_dispatch/routing/route_set.rb:601:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.4) lib/rack/etag.rb:23:in `call' + rack (1.4.4) lib/rack/conditionalget.rb:25:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.4) lib/rack/session/abstract/id.rb:210:in `context' + rack (1.4.4) lib/rack/session/abstract/id.rb:205:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/cookies.rb:341:in `call' + dragonfly (0.9.13) lib/dragonfly/cookie_monster.rb:9:in `call' + activerecord (3.2.11) lib/active_record/query_cache.rb:64:in `call' + activerecord (3.2.11) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' + activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `_run__694492558404339278__call__1809465047638196385__callbacks' + activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.11) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.11) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.11) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.11) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.11) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.4) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.4) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.11) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.4) lib/rack/lock.rb:15:in `call' + actionpack (3.2.11) lib/action_dispatch/middleware/static.rb:62:in `call' + dragonfly (0.9.13) lib/dragonfly/middleware.rb:13:in `call' + rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward' + rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch' + rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup' + rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!' + rack-cache (1.2) lib/rack/cache/context.rb:51:in `call' + railties (3.2.11) lib/rails/engine.rb:479:in `call' + railties (3.2.11) lib/rails/application.rb:223:in `call' + rack (1.4.4) lib/rack/content_length.rb:14:in `call' + railties (3.2.11) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.4) lib/rack/handler/webrick.rb:59:in `service' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' + /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' + + + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms) + Rendered /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/actionpack-3.2.11/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.2ms) +Connecting to database specified by database.yml +DEPRECATION WARNING: Passing a block to use is deprecated. Please use wrapper instead of use. (called from block (2 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:5) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :input, :wrap_with => {:class=>"xxlarge"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:6) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :hint, :wrap_with => {:tag=>:div, :class=>"help-block"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:7) +DEPRECATION WARNING: Passing :tag, :class and others to use is deprecated. Please invoke b.use :error, :wrap_with => {:tag=>:span, :class=>"help-inline"} instead. (called from block (3 levels) in <top (required)> at /Users/kris/Code/qwerty/config/initializers/simple_form.rb:8) + + +Started GET "/" for 127.0.0.1 at 2013-02-04 22:04:51 +0000 +Creating scope :public. Overwriting existing method Document.public. +Processing by DocumentsController#show as HTML + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/home' LIMIT 1 + Node Load (0.4ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 46 ORDER BY position ASC LIMIT 1 +  (0.3ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 46 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`parent_id` = 46 ORDER BY position ASC, `lft` + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 48 AND `node_settings`.`key` = 'sort' LIMIT 1 + NodeSetting Load (0.4ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 48 AND `node_settings`.`key` = 'per_page' LIMIT 1 + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 47 AND `node_settings`.`key` = 'sort' LIMIT 1 + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 47 AND `node_settings`.`key` = 'per_page' LIMIT 1 + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 46 AND `node_settings`.`key` = 'template' LIMIT 1 +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/home.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/home.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/home.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/home.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/home.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/home.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/default.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/default.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/default.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/show.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/show.html.erb +Found: /Users/kris/Code/qwerty/app/views/cms/show.html.erb +DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from realtime at /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:310) +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`parent_id` = 768 +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`node_id` = 48 + Document Load (0.7ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 48 +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`node_id` = 47 + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 47 + Rendered /Users/kris/Code/qwerty/app/views/cms/show.html.erb within layouts/application (14.1ms) +Compiled application.css (0ms) (pid 39484) +Compiled jquery.js (2ms) (pid 39484) +Compiled jquery_ujs.js (0ms) (pid 39484) +Compiled application.js (50ms) (pid 39484) + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`permalink` = '/home' LIMIT 1 + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`parent_id` IS NULL AND `documents`.`published` = 1 ORDER BY `lft` +Completed 200 OK in 893ms (Views: 286.1ms | ActiveRecord: 9.9ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-02-04 22:04:52 +0000 +Served asset /jquery.js - 200 OK (3ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-02-04 22:04:52 +0000 +Served asset /jquery_ujs.js - 200 OK (2ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-02-04 22:04:52 +0000 +Served asset /application.js - 200 OK (8ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-02-04 22:04:52 +0000 +Served asset /application.css - 200 OK (1ms) + + +Started GET "/blog" for 127.0.0.1 at 2013-02-04 22:04:57 +0000 +Processing by DocumentsController#show as HTML + Parameters: {"permalink"=>"blog"} + Document Load (0.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/blog' LIMIT 1 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 51 ORDER BY position ASC LIMIT 1 +  (0.2ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 51 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`parent_id` = 51 ORDER BY position ASC, `lft` + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 52 AND `node_settings`.`key` = 'sort' LIMIT 1 + NodeSetting Load (0.4ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 52 AND `node_settings`.`key` = 'per_page' LIMIT 1 + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 51 AND `node_settings`.`key` = 'template' LIMIT 1 +Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/blog.html.erb +DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from realtime at /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:310) + Document Load (18.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 52 AND `documents`.`published` = 1 ORDER BY published_at desc LIMIT 5 OFFSET 0 +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`node_id` = 52 AND `documents`.`published` = 1 + Rendered cms/blog.html.erb within layouts/application (88.4ms) + Document Load (0.5ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`permalink` = '/home' LIMIT 1 + Document Load (0.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`parent_id` IS NULL AND `documents`.`published` = 1 ORDER BY `lft` +Completed 200 OK in 129ms (Views: 97.4ms | ActiveRecord: 21.6ms) + + +Started GET "/blog?blog_page=2" for 127.0.0.1 at 2013-02-04 22:05:00 +0000 +Processing by DocumentsController#show as HTML + Parameters: {"blog_page"=>"2", "permalink"=>"blog"} + Document Load (0.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/blog' LIMIT 1 + Node Load (0.3ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 51 ORDER BY position ASC LIMIT 1 +  (0.4ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 51 + Node Load (0.3ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`parent_id` = 51 ORDER BY position ASC, `lft` + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 52 AND `node_settings`.`key` = 'sort' LIMIT 1 + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 52 AND `node_settings`.`key` = 'per_page' LIMIT 1 + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 51 AND `node_settings`.`key` = 'template' LIMIT 1 +Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/blog.html.erb +DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from realtime at /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:310) + Document Load (0.8ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 52 AND `documents`.`published` = 1 ORDER BY published_at desc LIMIT 5 OFFSET 5 +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`node_id` = 52 AND `documents`.`published` = 1 + Rendered cms/blog.html.erb within layouts/application (13.0ms) + Document Load (0.5ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`permalink` = '/home' LIMIT 1 + Document Load (0.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`parent_id` IS NULL AND `documents`.`published` = 1 ORDER BY `lft` +Completed 200 OK in 33ms (Views: 18.8ms | ActiveRecord: 4.1ms) + + +Started GET "/blog/adipisci" for 127.0.0.1 at 2013-02-04 22:05:02 +0000 +Processing by DocumentsController#show as HTML + Parameters: {"permalink"=>"blog/adipisci"} + Document Load (0.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/blog/adipisci' LIMIT 1 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 52 ORDER BY position ASC LIMIT 1 +  (0.2ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 52 + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 52 AND `node_settings`.`key` = 'template' LIMIT 1 +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/adipisci.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/adipisci.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/adipisci.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/blog.adipisci.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/blog.adipisci.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/blog.adipisci.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/blog/adipisci.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/blog/adipisci.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/blog/adipisci.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/blog/post.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/blog/post.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/blog/post.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/blog.post.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/blog.post.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/blog.post.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/default.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/default.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/default.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/show.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/show.html.erb +Found: /Users/kris/Code/qwerty/app/views/cms/show.html.erb +DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from realtime at /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:310) +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`parent_id` = 754 + Rendered /Users/kris/Code/qwerty/app/views/cms/show.html.erb within layouts/application (1.6ms) + Document Load (0.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`permalink` = '/home' LIMIT 1 + Document Load (0.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`parent_id` IS NULL AND `documents`.`published` = 1 ORDER BY `lft` +Completed 200 OK in 16ms (Views: 8.5ms | ActiveRecord: 2.2ms) + + +Started GET "/gallery" for 127.0.0.1 at 2013-02-04 22:05:05 +0000 +Processing by DocumentsController#show as HTML + Parameters: {"permalink"=>"gallery"} + Document Load (0.7ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/gallery' LIMIT 1 + Node Load (0.3ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 53 ORDER BY position ASC LIMIT 1 +  (0.5ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 53 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`parent_id` = 53 ORDER BY position ASC, `lft` + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 54 AND `node_settings`.`key` = 'sort' LIMIT 1 + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 54 AND `node_settings`.`key` = 'per_page' LIMIT 1 + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 53 AND `node_settings`.`key` = 'template' LIMIT 1 +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/gallery.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/gallery.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/gallery.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/gallery.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/gallery.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/gallery.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/default.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/default.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/default.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/show.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/show.html.erb +Found: /Users/kris/Code/qwerty/app/views/cms/show.html.erb +DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from realtime at /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:310) +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`parent_id` = 635 +  (0.2ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`node_id` = 54 + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 54 + Rendered /Users/kris/Code/qwerty/app/views/cms/show.html.erb within layouts/application (5.3ms) + Document Load (0.5ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`permalink` = '/home' LIMIT 1 + Document Load (0.4ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`parent_id` IS NULL AND `documents`.`published` = 1 ORDER BY `lft` +Completed 200 OK in 26ms (Views: 11.9ms | ActiveRecord: 4.5ms) + + +Started GET "/gallery/et_architecto_iusto_maxime" for 127.0.0.1 at 2013-02-04 22:05:06 +0000 +Processing by DocumentsController#show as HTML + Parameters: {"permalink"=>"gallery/et_architecto_iusto_maxime"} + Document Load (0.3ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/gallery/et_architecto_iusto_maxime' LIMIT 1 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 54 ORDER BY position ASC LIMIT 1 +  (0.2ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 54 + Node Load (0.4ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`parent_id` = 54 ORDER BY position ASC, `lft` + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 55 AND `node_settings`.`key` = 'sort' LIMIT 1 + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 55 AND `node_settings`.`key` = 'per_page' LIMIT 1 + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 54 AND `node_settings`.`key` = 'template' LIMIT 1 +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/et_architecto_iusto_maxime.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/et_architecto_iusto_maxime.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/et_architecto_iusto_maxime.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/gallery.et_architecto_iusto_maxime.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/gallery.et_architecto_iusto_maxime.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/gallery.et_architecto_iusto_maxime.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/gallery/et_architecto_iusto_maxime.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/gallery/et_architecto_iusto_maxime.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/gallery/et_architecto_iusto_maxime.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/gallery/gallery.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/gallery/gallery.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/gallery/gallery.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/gallery.gallery.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/gallery.gallery.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/gallery.gallery.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/default.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/default.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/default.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/show.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/show.html.erb +Found: /Users/kris/Code/qwerty/app/views/cms/show.html.erb +DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from realtime at /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:310) +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`parent_id` = 636 + Rendered /Users/kris/Code/qwerty/app/views/cms/show.html.erb within layouts/application (1.4ms) + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`permalink` = '/home' LIMIT 1 + Document Load (0.5ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`parent_id` IS NULL AND `documents`.`published` = 1 ORDER BY `lft` +Completed 200 OK in 23ms (Views: 9.1ms | ActiveRecord: 3.2ms) + + +Started GET "/home" for 127.0.0.1 at 2013-02-04 22:05:09 +0000 +Processing by DocumentsController#show as HTML + Parameters: {"permalink"=>"home"} + Document Load (0.5ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`published` = 1 AND `documents`.`permalink` = '/home' LIMIT 1 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`id` = 46 ORDER BY position ASC LIMIT 1 +  (0.2ms) SELECT COUNT(*) FROM `nodes` WHERE `nodes`.`parent_id` = 46 + Node Load (0.2ms) SELECT `nodes`.* FROM `nodes` WHERE `nodes`.`parent_id` = 46 ORDER BY position ASC, `lft` + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 48 AND `node_settings`.`key` = 'sort' LIMIT 1 + NodeSetting Load (0.4ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 48 AND `node_settings`.`key` = 'per_page' LIMIT 1 + NodeSetting Load (0.3ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 47 AND `node_settings`.`key` = 'sort' LIMIT 1 + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 47 AND `node_settings`.`key` = 'per_page' LIMIT 1 + NodeSetting Load (0.2ms) SELECT `node_settings`.* FROM `node_settings` WHERE `node_settings`.`node_id` = 46 AND `node_settings`.`key` = 'template' LIMIT 1 +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/home.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/home.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/home.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/home.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/home.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/home.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/default.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/default.html.erb +Not Found: /Users/kris/Code/qwerty/app/views/cms/default.html.erb + +Not Found: /Users/kris/Code/qwerty/test/dummy/app/views/cms/show.html.erb +Not Found: /Users/kris/.rvm/gems/ruby-1.9.2-p320@qwerty/gems/kaminari-0.13.0/app/views/cms/show.html.erb +Found: /Users/kris/Code/qwerty/app/views/cms/show.html.erb +DEPRECATION WARNING: Passing a template handler in the template name is deprecated. You can simply remove the handler name or pass render :handlers => [:erb] instead. (called from realtime at /Users/kris/.rvm/rubies/ruby-1.9.2-p320/lib/ruby/1.9.1/benchmark.rb:310) +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`parent_id` = 768 +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`node_id` = 48 + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 48 +  (0.3ms) SELECT COUNT(*) FROM `documents` WHERE `documents`.`node_id` = 47 + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`node_id` = 47 + Rendered /Users/kris/Code/qwerty/app/views/cms/show.html.erb within layouts/application (8.7ms) + Document Load (0.6ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`permalink` = '/home' LIMIT 1 + Document Load (0.3ms) SELECT `documents`.* FROM `documents` WHERE `documents`.`parent_id` IS NULL AND `documents`.`published` = 1 ORDER BY `lft` +Completed 200 OK in 32ms (Views: 13.8ms | ActiveRecord: 5.4ms)