test/dummy/log/development.log in spina-0.6.15 vs test/dummy/log/development.log in spina-0.6.16
- old
+ new
@@ -81204,5 +81204,1771 @@
[1m[36mSpina::Text Load (0.2ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 12]]
[1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11'
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/update.js.coffee (40.1ms)
Completed 200 OK in 74ms (Views: 61.9ms | ActiveRecord: 1.8ms)
+DEPRECATION WARNING: You didn't set `secret_key_base`. Read the upgrade documentation to learn more about this new config option. (called from handle at /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155)
+
+
+Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:15:21 +0200
+Processing by Spina::Admin::PagesController#index as HTML
+ [1m[36mSpina::User Load (0.3ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
+
+You can opt into the new behavior and remove this warning by setting:
+
+ config.active_record.raise_in_transactional_callbacks = true
+
+ (called from <class:Account> at /Users/bram/apps/spina/app/models/spina/account.rb:5)
+DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
+
+You can opt into the new behavior and remove this warning by setting:
+
+ config.active_record.raise_in_transactional_callbacks = true
+
+ (called from <class:Account> at /Users/bram/apps/spina/app/models/spina/account.rb:5)
+ [1m[35mSpina::Account Load (0.9ms)[0m SELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1
+ [1m[36mSpina::Page Load (0.6ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."active" = 't' AND "spina_pages"."ancestry" IS NULL AND "spina_pages"."ancestry" IS NULL ORDER BY position[0m
+ [1m[35mSpina::Page Load (0.5ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.4ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.4ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (17.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (161.5ms)
+ [1m[36mSpina::Inquiry Load (0.5ms)[0m [1mSELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC[0m
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (5.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (2.2ms)
+ Rendered layouts/spina/admin/application.html.haml (225.1ms)
+Completed 200 OK in 459ms (Views: 394.6ms | ActiveRecord: 14.0ms)
+
+
+Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:15:23 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"hoi"}
+ [1m[35mSpina::User Load (0.3ms)[0m SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1[0m [["slug", "hoi"]]
+ [1m[35mSpina::PagePart Load (0.3ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "content"]]
+ [1m[36mSpina::Text Load (0.3ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 3]]
+ [1m[35mSpina::PagePart Load (0.3ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "team"]]
+ [1m[36mSpina::Structure Load (0.5ms)[0m [1mSELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (9.4ms)
+ [1m[35mSpina::StructureItem Load (0.6ms)[0m SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.6ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 2]]
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 7]]
+ [1m[36mSpina::Line Load (0.5ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 21]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.4ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 5]]
+ [1m[35mSpina::Line Load (0.3ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
+ [1m[36mSpina::StructurePart Load (0.3ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 3]]
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (53.8ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (83.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (87.9ms)
+Completed 500 Internal Server Error in 140ms (ActiveRecord: 12.7ms)
+
+NoMethodError - undefined method `structure_partable' for nil:NilClass:
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337241358800'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337241358800'
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:12:in `___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337241358800'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337235118240'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337235118240'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:1:in `___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337235118240'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml:11:in `___sers_bram_apps_spina_app_views_spina_admin_pages_edit_html_haml___2968101285233526264_70337222534900'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:109:in `rescue in block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
+
+
+
+Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:15:24 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"hoi"}
+ [1m[36mSpina::User Load (0.3ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.4ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
+ [1m[36mSpina::PagePart Load (0.4ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 3], ["name", "content"]]
+ [1m[35mSpina::Text Load (0.2ms)[0m SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 3], ["name", "team"]]
+ [1m[35mSpina::Structure Load (0.2ms)[0m SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.4ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 3]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (5.8ms)
+ [1m[36mSpina::StructureItem Load (0.4ms)[0m [1mSELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position[0m [["structure_id", 1]]
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 2]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 7]]
+ [1m[35mSpina::Line Load (0.3ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 1]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 5]]
+ [1m[36mSpina::Line Load (0.2ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 19]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 3]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (21.7ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (42.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (45.6ms)
+Completed 500 Internal Server Error in 60ms (ActiveRecord: 4.2ms)
+
+NoMethodError - undefined method `structure_partable' for nil:NilClass:
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337278724720'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337278724720'
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:12:in `___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337278724720'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337231621000'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337231621000'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:1:in `___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337231621000'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml:11:in `___sers_bram_apps_spina_app_views_spina_admin_pages_edit_html_haml___2968101285233526264_70337223225880'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:109:in `rescue in block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
+
+
+
+Started POST "/__better_errors/70337291112860/variables" for 127.0.0.1 at 2015-04-21 11:15:24 +0200
+ [1m[35mSpina::Inquiry Load (0.4ms)[0m SELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC
+
+
+Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:15:32 +0200
+Processing by Spina::Admin::PagesController#index as HTML
+ [1m[36mSpina::User Load (0.4ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Account Load (0.5ms)[0m SELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1
+ [1m[36mSpina::Page Load (0.4ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."active" = 't' AND "spina_pages"."ancestry" IS NULL AND "spina_pages"."ancestry" IS NULL ORDER BY position[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.6ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.4ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (20.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (31.5ms)
+ [1m[36mSpina::Inquiry Load (0.4ms)[0m [1mSELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC[0m
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (4.0ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (2.4ms)
+ Rendered layouts/spina/admin/application.html.haml (28.9ms)
+Completed 200 OK in 71ms (Views: 61.9ms | ActiveRecord: 5.4ms)
+DEPRECATION WARNING: You didn't set `secret_key_base`. Read the upgrade documentation to learn more about this new config option. (called from handle at /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155)
+
+
+Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:15:53 +0200
+Processing by Spina::Admin::PagesController#index as HTML
+ [1m[35mSpina::User Load (0.4ms)[0m SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Account Load (0.5ms)[0m [1mSELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1[0m
+ [1m[35mSpina::Page Load (0.4ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."active" = 't' AND "spina_pages"."ancestry" IS NULL AND "spina_pages"."ancestry" IS NULL ORDER BY position
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.4ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'[0m
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (13.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (19.5ms)
+ [1m[35mSpina::Inquiry Load (0.5ms)[0m SELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
+ Rendered layouts/spina/admin/application.html.haml (19.2ms)
+Completed 200 OK in 48ms (Views: 40.1ms | ActiveRecord: 4.7ms)
+
+
+Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:15:56 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"hoi"}
+ [1m[36mSpina::User Load (0.4ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 3], ["name", "content"]]
+ [1m[35mSpina::Text Load (0.2ms)[0m SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 3], ["name", "team"]]
+ [1m[35mSpina::Structure Load (0.2ms)[0m SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 3]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.8ms)
+ [1m[36mSpina::StructureItem Load (0.3ms)[0m [1mSELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position[0m [["structure_id", 1]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 2]]
+ [1m[36mSpina::StructurePart Load (0.1ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 7]]
+ [1m[35mSpina::Line Load (0.2ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
+ [1m[36mSpina::StructurePart Load (0.1ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 1]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 5]]
+ [1m[36mSpina::Line Load (0.2ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 19]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 3]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (13.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (23.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (26.0ms)
+Completed 500 Internal Server Error in 39ms (ActiveRecord: 3.5ms)
+
+NoMethodError - undefined method `structure_partable' for nil:NilClass:
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337241358800'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337241358800'
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:12:in `___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337241358800'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337235118240'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337235118240'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:1:in `___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337235118240'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml:11:in `___sers_bram_apps_spina_app_views_spina_admin_pages_edit_html_haml___2968101285233526264_70337222534900'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:109:in `rescue in block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
+
+
+
+Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:15:57 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"hoi"}
+ [1m[35mSpina::User Load (0.2ms)[0m SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1[0m [["slug", "hoi"]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "content"]]
+ [1m[36mSpina::Text Load (0.3ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 3]]
+ [1m[35mSpina::PagePart Load (0.3ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "team"]]
+ [1m[36mSpina::Structure Load (0.3ms)[0m [1mSELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.4ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.5ms)
+ [1m[35mSpina::StructureItem Load (0.3ms)[0m SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 2]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 7]]
+ [1m[36mSpina::Line Load (0.2ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 21]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 5]]
+ [1m[35mSpina::Line Load (0.2ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 3]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (13.8ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (22.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (24.0ms)
+Completed 500 Internal Server Error in 36ms (ActiveRecord: 3.6ms)
+
+NoMethodError - undefined method `structure_partable' for nil:NilClass:
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337278724720'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337278724720'
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:12:in `___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337278724720'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337231621000'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337231621000'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:1:in `___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337231621000'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml:11:in `___sers_bram_apps_spina_app_views_spina_admin_pages_edit_html_haml___2968101285233526264_70337223225880'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:109:in `rescue in block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
+
+
+
+Started POST "/__better_errors/70337234614600/variables" for 127.0.0.1 at 2015-04-21 11:15:57 +0200
+ [1m[36mSpina::Inquiry Load (0.3ms)[0m [1mSELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC[0m
+
+
+Started GET "/admin/pages/efwefwefw/edit" for 127.0.0.1 at 2015-04-21 11:16:00 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"efwefwefw"}
+ [1m[35mSpina::User Load (0.3ms)[0m SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1[0m [["slug", "efwefwefw"]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 9], ["name", "content"]]
+ [1m[36mSpina::Text Load (0.2ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 8]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 9], ["name", "team"]]
+ [1m[36mSpina::Structure Load (0.2ms)[0m [1mSELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1[0m [["id", 2]]
+ [1m[35mSpina::Page Load (0.5ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 9]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 9]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.5ms)
+ [1m[35mSpina::StructureItem Load (0.4ms)[0m SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 2]]
+ [1m[36mSpina::StructurePart Load (0.3ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 8]]
+ [1m[35mSpina::Line Load (0.2ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 22]]
+ [1m[36mSpina::PagePart Load (0.3ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_partable_id" = $1 AND "spina_page_parts"."page_partable_type" = $2 LIMIT 1[0m [["page_partable_id", 2], ["page_partable_type", "Spina::Structure"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 2]]
+ [1m[36mSpina::StructurePart Load (0.4ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1[0m [["structure_item_id", 8]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 22]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (2.7ms)
+ [1m[36mSpina::Text Load (0.3ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 9]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (6.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (3.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (26.5ms)
+DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
+
+You can opt into the new behavior and remove this warning by setting:
+
+ config.active_record.raise_in_transactional_callbacks = true
+
+ (called from <class:Photo> at /Users/bram/apps/spina/app/models/spina/photo.rb:3)
+DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
+
+You can opt into the new behavior and remove this warning by setting:
+
+ config.active_record.raise_in_transactional_callbacks = true
+
+ (called from <class:Photo> at /Users/bram/apps/spina/app/models/spina/photo.rb:3)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.4ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.8ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (11.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (69.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (89.2ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (94.4ms)
+ [1m[35mSpina::Inquiry Load (0.4ms)[0m SELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.7ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
+ Rendered layouts/spina/admin/application.html.haml (18.9ms)
+Completed 200 OK in 136ms (Views: 122.7ms | ActiveRecord: 5.3ms)
+
+
+Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:16:03 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"hoi"}
+ [1m[36mSpina::User Load (0.2ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.4ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
+ [1m[36mSpina::PagePart Load (0.3ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 3], ["name", "content"]]
+ [1m[35mSpina::Text Load (0.2ms)[0m SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 3], ["name", "team"]]
+ [1m[35mSpina::Structure Load (0.3ms)[0m SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.4ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 3]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.4ms)
+ [1m[36mSpina::StructureItem Load (0.3ms)[0m [1mSELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position[0m [["structure_id", 1]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 2]]
+ [1m[36mSpina::StructurePart Load (0.3ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 7]]
+ [1m[35mSpina::Line Load (0.2ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 1]]
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 5]]
+ [1m[36mSpina::Line Load (0.2ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 19]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 3]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (15.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (25.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (28.4ms)
+Completed 500 Internal Server Error in 41ms (ActiveRecord: 3.9ms)
+
+NoMethodError - undefined method `structure_partable' for nil:NilClass:
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337241358800'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337241358800'
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:12:in `___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337241358800'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337235118240'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337235118240'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:1:in `___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337235118240'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml:11:in `___sers_bram_apps_spina_app_views_spina_admin_pages_edit_html_haml___2968101285233526264_70337222534900'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:109:in `rescue in block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
+
+
+
+Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:16:03 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"hoi"}
+ [1m[35mSpina::User Load (0.2ms)[0m SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1[0m [["slug", "hoi"]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "content"]]
+ [1m[36mSpina::Text Load (0.2ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 3]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "team"]]
+ [1m[36mSpina::Structure Load (0.2ms)[0m [1mSELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (2.1ms)
+ [1m[35mSpina::StructureItem Load (0.3ms)[0m SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.3ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 2]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 7]]
+ [1m[36mSpina::Line Load (0.2ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 21]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 5]]
+ [1m[35mSpina::Line Load (0.2ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 3]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (14.7ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (23.4ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (25.7ms)
+Completed 500 Internal Server Error in 38ms (ActiveRecord: 3.2ms)
+
+NoMethodError - undefined method `structure_partable' for nil:NilClass:
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337278724720'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337278724720'
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
+ /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml:12:in `___sers_bram_apps_spina_app_views_spina_admin_page_partables__structure_form_html_haml__330197892852975841_70337278724720'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:16:in `block (2 levels) in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337231621000'
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:14:in `block in ___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337231621000'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml:1:in `___sers_bram_apps_spina_app_views_spina_admin_pages__form_html_haml___2748224416854341678_70337231621000'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
+ /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml:11:in `___sers_bram_apps_spina_app_views_spina_admin_pages_edit_html_haml___2968101285233526264_70337223225880'
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:109:in `rescue in block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
+
+
+
+Started POST "/__better_errors/70337230199640/variables" for 127.0.0.1 at 2015-04-21 11:16:03 +0200
+ [1m[36mSpina::Inquiry Load (0.4ms)[0m [1mSELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC[0m
+
+
+Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:16:20 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"hoi"}
+ [1m[35mSpina::User Load (0.3ms)[0m SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1[0m [["slug", "hoi"]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "content"]]
+ [1m[36mSpina::Text Load (0.2ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 3]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "team"]]
+ [1m[36mSpina::Structure Load (0.2ms)[0m [1mSELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.6ms)
+ [1m[35mSpina::StructureItem Load (0.2ms)[0m SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.3ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 2]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 7]]
+ [1m[36mSpina::Line Load (0.2ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 21]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 5]]
+ [1m[35mSpina::Line Load (0.2ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 3]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 4]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 6]]
+ [1m[35mSpina::Line Load (0.2ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 20]]
+ [1m[36mSpina::PagePart Load (0.3ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_partable_id" = $1 AND "spina_page_parts"."page_partable_type" = $2 LIMIT 1[0m [["page_partable_id", 1], ["page_partable_type", "Spina::Structure"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.4ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1[0m [["structure_item_id", 2]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.7ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (6.0ms)
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 7]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 21]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (1.0ms)
+ [1m[35mSpina::Text Load (0.3ms)[0m SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 6]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (3.5ms)
+ [1m[36mSpina::Photo Load (0.4ms)[0m [1mSELECT "spina_photos".* FROM "spina_photos" WHERE "spina_photos"."id" = $1 LIMIT 1[0m [["id", 14]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (3.8ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (15.9ms)
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 1]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (3.5ms)
+ [1m[36mSpina::StructurePart Load (0.3ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1[0m [["structure_item_id", 5]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.9ms)
+ [1m[36mSpina::Text Load (0.2ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.8ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (7.9ms)
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (3.3ms)
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1[0m [["structure_item_id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (0.9ms)
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 6]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 20]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.7ms)
+ [1m[35mSpina::Text Load (0.2ms)[0m SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 5]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.7ms)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_photos".* FROM "spina_photos" WHERE "spina_photos"."id" = $1 LIMIT 1[0m [["id", 14]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (1.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (11.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.4ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (8.0ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (89.2ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (103.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (111.5ms)
+ [1m[35mSpina::Inquiry Load (0.4ms)[0m SELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.8ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
+ Rendered layouts/spina/admin/application.html.haml (17.7ms)
+Completed 200 OK in 162ms (Views: 147.5ms | ActiveRecord: 7.8ms)
+
+
+Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:16:27 +0200
+Processing by Spina::Admin::PagesController#index as HTML
+ [1m[36mSpina::User Load (0.2ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Account Load (0.4ms)[0m SELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1
+ [1m[36mSpina::Page Load (0.4ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."active" = 't' AND "spina_pages"."ancestry" IS NULL AND "spina_pages"."ancestry" IS NULL ORDER BY position[0m
+ [1m[35mSpina::Page Load (0.4ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.2ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.4ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (13.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (20.8ms)
+ [1m[36mSpina::Inquiry Load (0.5ms)[0m [1mSELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC[0m
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
+ Rendered layouts/spina/admin/application.html.haml (19.8ms)
+Completed 200 OK in 51ms (Views: 43.1ms | ActiveRecord: 4.5ms)
+
+
+Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:16:34 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"hoi"}
+ [1m[35mSpina::User Load (0.3ms)[0m SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1[0m [["slug", "hoi"]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "content"]]
+ [1m[36mSpina::Text Load (0.2ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 3]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 3], ["name", "team"]]
+ [1m[36mSpina::Structure Load (0.2ms)[0m [1mSELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.9ms)
+ [1m[35mSpina::StructureItem Load (0.3ms)[0m SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 2]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 7]]
+ [1m[36mSpina::Line Load (0.2ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 21]]
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 5]]
+ [1m[35mSpina::Line Load (0.2ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
+ [1m[36mSpina::StructurePart Load (0.3ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 3]]
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1 [["structure_item_id", 4]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 ORDER BY "spina_structure_parts"."id" ASC LIMIT 1[0m [["structure_item_id", 6]]
+ [1m[35mSpina::Line Load (0.2ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 20]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_partable_id" = $1 AND "spina_page_parts"."page_partable_type" = $2 LIMIT 1[0m [["page_partable_id", 1], ["page_partable_type", "Spina::Structure"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1[0m [["structure_item_id", 2]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (4.1ms)
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 7]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 21]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (1.3ms)
+ [1m[35mSpina::Text Load (0.3ms)[0m SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 6]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (2.5ms)
+ [1m[36mSpina::Photo Load (0.3ms)[0m [1mSELECT "spina_photos".* FROM "spina_photos" WHERE "spina_photos"."id" = $1 LIMIT 1[0m [["id", 14]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (2.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (18.0ms)
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 1]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (4.7ms)
+ [1m[36mSpina::StructurePart Load (0.4ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1[0m [["structure_item_id", 5]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (1.1ms)
+ [1m[36mSpina::Text Load (0.3ms)[0m [1mSELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1[0m [["id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (2.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (12.9ms)
+ [1m[35mSpina::StructurePart Load (0.3ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 3]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (5.1ms)
+ [1m[36mSpina::StructurePart Load (0.2ms)[0m [1mSELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1[0m [["structure_item_id", 4]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (1.7ms)
+ [1m[35mSpina::StructurePart Load (0.2ms)[0m SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 6]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1[0m [["id", 20]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (1.4ms)
+ [1m[35mSpina::Text Load (0.3ms)[0m SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 5]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (3.5ms)
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_photos".* FROM "spina_photos" WHERE "spina_photos"."id" = $1 LIMIT 1[0m [["id", 14]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (1.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (19.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.2ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.7ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (11.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (121.2ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (137.8ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (145.3ms)
+ [1m[35mSpina::Inquiry Load (0.5ms)[0m SELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
+ Rendered layouts/spina/admin/application.html.haml (20.8ms)
+Completed 200 OK in 196ms (Views: 182.3ms | ActiveRecord: 7.5ms)
+
+
+Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:16:37 +0200
+Processing by Spina::Admin::PagesController#index as HTML
+ [1m[36mSpina::User Load (0.2ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Account Load (0.5ms)[0m SELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1
+ [1m[36mSpina::Page Load (0.4ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."active" = 't' AND "spina_pages"."ancestry" IS NULL AND "spina_pages"."ancestry" IS NULL ORDER BY position[0m
+ [1m[35mSpina::Page Load (0.5ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.4ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'[0m
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (15.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (23.0ms)
+ [1m[36mSpina::Inquiry Load (0.4ms)[0m [1mSELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC[0m
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.7ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
+ Rendered layouts/spina/admin/application.html.haml (19.7ms)
+Completed 200 OK in 60ms (Views: 46.6ms | ActiveRecord: 4.8ms)
+
+
+Started GET "/admin/pages/aewfawef/edit" for 127.0.0.1 at 2015-04-21 11:16:40 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"aewfawef"}
+ [1m[35mSpina::User Load (0.2ms)[0m SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1[0m [["slug", "aewfawef"]]
+ [1m[35mSpina::PagePart Load (0.2ms)[0m SELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1 [["page_id", 2], ["name", "content"]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 2], ["name", "team"]]
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 2]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 2]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.7ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (11.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (18.0ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (30.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (34.2ms)
+ [1m[35mSpina::Inquiry Load (0.4ms)[0m SELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
+ Rendered layouts/spina/admin/application.html.haml (19.2ms)
+Completed 200 OK in 70ms (Views: 62.3ms | ActiveRecord: 1.4ms)
+
+
+Started PATCH "/admin/pages/aewfawef" for 127.0.0.1 at 2015-04-21 11:16:41 +0200
+Processing by Spina::Admin::PagesController#update as JS
+ Parameters: {"utf8"=>"✓", "page"=>{"title"=>"aewfawef", "page_parts_attributes"=>{"0"=>{"id"=>"", "title"=>"Content", "page_partable_type"=>"Spina::Text", "name"=>"content", "page_partable_attributes"=>{"content"=>""}}, "1"=>{"id"=>"", "title"=>"Team", "page_partable_type"=>"Spina::Structure", "name"=>"team"}}, "seo_title"=>"aewfawef", "description"=>"", "draft"=>"0", "skip_to_first_child"=>"0", "show_in_menu"=>"1", "menu_title"=>"aewfawef", "view_template"=>"show"}, "_wysihtml5_mode"=>"1", "id"=>"aewfawef"}
+ [1m[36mSpina::User Load (0.2ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "aewfawef"]]
+ [1m[36m (0.2ms)[0m [1mBEGIN[0m
+ [1m[35mSpina::PagePart Exists (0.3ms)[0m SELECT 1 AS one FROM "spina_page_parts" WHERE ("spina_page_parts"."name" = 'content' AND "spina_page_parts"."page_id" = 2) LIMIT 1
+ [1m[36mSpina::PagePart Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "spina_page_parts" WHERE ("spina_page_parts"."name" = 'team' AND "spina_page_parts"."page_id" = 2) LIMIT 1[0m
+ [1m[35mSQL (0.3ms)[0m INSERT INTO "spina_texts" ("content", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["content", ""], ["created_at", "2015-04-21 09:16:41.656229"], ["updated_at", "2015-04-21 09:16:41.656229"]]
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "spina_page_parts" ("title", "page_partable_type", "name", "page_id", "page_partable_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Content"], ["page_partable_type", "Spina::Text"], ["name", "content"], ["page_id", 2], ["page_partable_id", 15], ["created_at", "2015-04-21 09:16:41.657888"], ["updated_at", "2015-04-21 09:16:41.657888"]]
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "spina_page_parts" ("title", "page_partable_type", "name", "page_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["title", "Team"], ["page_partable_type", "Spina::Structure"], ["name", "team"], ["page_id", 2], ["created_at", "2015-04-21 09:16:41.659872"], ["updated_at", "2015-04-21 09:16:41.659872"]]
+ [1m[36mSpina::Page Load (0.3ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2'[0m
+ [1m[35m (0.4ms)[0m COMMIT
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/update.js.coffee (78.6ms)
+Completed 200 OK in 127ms (Views: 105.2ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/admin/pages/aewfawef/edit" for 127.0.0.1 at 2015-04-21 11:17:27 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"aewfawef"}
+ [1m[36mSpina::User Load (0.2ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "aewfawef"]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 2], ["name", "content"]]
+ [1m[35mSpina::Text Load (0.2ms)[0m SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 15]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 2], ["name", "team"]]
+ [1m[35mSpina::Page Load (0.2ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 2]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 2]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (2.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.8ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (10.4ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (16.7ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (31.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (34.8ms)
+ [1m[35mSpina::Inquiry Load (0.4ms)[0m SELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
+ Rendered layouts/spina/admin/application.html.haml (21.0ms)
+Completed 200 OK in 76ms (Views: 65.2ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/admin/pages/aewfawef/edit" for 127.0.0.1 at 2015-04-21 11:17:34 +0200
+Processing by Spina::Admin::PagesController#edit as HTML
+ Parameters: {"id"=>"aewfawef"}
+ [1m[36mSpina::User Load (0.2ms)[0m [1mSELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1[0m [["id", 1]]
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "aewfawef"]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 2], ["name", "content"]]
+ [1m[35mSpina::Text Load (0.2ms)[0m SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 15]]
+ [1m[36mSpina::PagePart Load (0.2ms)[0m [1mSELECT "spina_page_parts".* FROM "spina_page_parts" WHERE "spina_page_parts"."page_id" = $1 AND "spina_page_parts"."name" = $2 ORDER BY "spina_page_parts"."id" ASC LIMIT 1[0m [["page_id", 2], ["name", "team"]]
+ [1m[35mSpina::Page Load (0.3ms)[0m SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 2]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1[0m [["id", 2]]
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (2.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.3ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.7ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (9.5ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (15.2ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (27.9ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (30.5ms)
+ [1m[35mSpina::Inquiry Load (0.4ms)[0m SELECT "spina_inquiries".* FROM "spina_inquiries" WHERE ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) AND "spina_inquiries"."archived" = 'f' AND ("spina_inquiries"."spam" = 'f' OR "spina_inquiries"."spam" IS NULL) ORDER BY created_at DESC
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.6ms)
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
+ Rendered layouts/spina/admin/application.html.haml (17.8ms)
+Completed 200 OK in 65ms (Views: 56.2ms | ActiveRecord: 1.7ms)