spina 0.6.15 → 0.6.16

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of spina might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 631c7a3d97e89934af41189fd5cb71171679d4bf
4
- data.tar.gz: 22f3192e7513ea0cf6e07084340954bf8becfec9
3
+ metadata.gz: 921a495803f0220e82838991263a22edf0e391c6
4
+ data.tar.gz: 78523bbac59d0fbb7250dba158fa4aa72e168b91
5
5
  SHA512:
6
- metadata.gz: 966427d6df3d2d554052d8c1cd4383c1a36c7c918587d96238c75fd6dec68aba7cde681476ed4f3f59bd9f1e3c8add582a1489cb0d671f1fcc378b9ffe3cb408
7
- data.tar.gz: ba75ea6b4f76f59f154319093457128a76794080ac6e4f9e3bf5fb637ddf9323782d9e316ab0147edbdd50806511cf87a79fad64e8d1fdd10f6497800b642dc2
6
+ metadata.gz: 14c8593dd72c1c05d0a793a9433b3df2919457f07f5a5175c8553fc126d13a4b080161cc2cbeab1cf26ca193fd89aee2c3559dec62addd54184a58138542bfa2
7
+ data.tar.gz: 0540c12b678c8739b2d9b8fe999497bf71f372a05767ca25d3edabc7e0519d15a95ec269e1640a53899ef0b9ae8121293cd26ef9811ae5f4905aaf410c2e76e2
@@ -76,9 +76,3 @@ $(document).on 'click', '.sort-switch', (event) ->
76
76
  $(this).addClass('button-success')
77
77
  $(this).text($(this).data('done-changing-order'))
78
78
  return false
79
-
80
- # JavaScript save page
81
- $(document).on 'submit', 'form.edit_page', (event) ->
82
- $submitButton = $(this).find('button[type="submit"]')
83
- $submitButton.addClass('button-saving')
84
- $submitButton.attr('data-icon', 'f')
@@ -6,5 +6,10 @@ module Spina
6
6
  scope :sorted_by_structure, -> { order('position') }
7
7
 
8
8
  accepts_nested_attributes_for :structure_parts, allow_destroy: true
9
+
10
+ def content(structure_part)
11
+ structure_part = structure_parts.where(name: structure_part).first
12
+ structure_part.try(:content)
13
+ end
9
14
  end
10
15
  end
@@ -14,6 +14,10 @@ module Spina
14
14
  name
15
15
  end
16
16
 
17
+ def content
18
+ structure_partable.try(:content) || structure_partable
19
+ end
20
+
17
21
  def structure_partable_attributes=(attributes)
18
22
  if self.structure_partable.present?
19
23
  self.structure_partable.assign_attributes(attributes)
@@ -13,7 +13,7 @@
13
13
  %li{data: {structure_item_id: structure_item.id}}
14
14
  = link_to "#structure_form_pane_#{structure_item.id}" do
15
15
  %i.sortable-handle{data: {icon: '7'}}
16
- = structure_item.structure_parts.first.structure_partable.try(:content)
16
+ = structure_item.structure_parts.first.try(:structure_partable).try(:content)
17
17
 
18
18
  .structure-form-content
19
19
  = structure_form.fields_for :page_partable do |form|
@@ -1,4 +1,4 @@
1
- = form_for [spina, :admin, @page], multipart: true, html: {autocomplete: "off"}, remote: !@page.new_record? do |f|
1
+ = form_for [spina, :admin, @page], multipart: true, html: {autocomplete: "off"} do |f|
2
2
  - content_for :notification_alert do
3
3
  = error_explanation!(@page)
4
4
 
@@ -1,3 +1,3 @@
1
1
  module Spina
2
- VERSION = "0.6.15"
2
+ VERSION = "0.6.16"
3
3
  end
@@ -81206,3 +81206,1769 @@ Processing by Spina::Admin::PagesController#update as JS
81206
81206
   (0.2ms) COMMIT
81207
81207
  Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/update.js.coffee (40.1ms)
81208
81208
  Completed 200 OK in 74ms (Views: 61.9ms | ActiveRecord: 1.8ms)
81209
+ 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)
81210
+
81211
+
81212
+ Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:15:21 +0200
81213
+ Processing by Spina::Admin::PagesController#index as HTML
81214
+ Spina::User Load (0.3ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
81215
+ 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.
81216
+
81217
+ You can opt into the new behavior and remove this warning by setting:
81218
+
81219
+ config.active_record.raise_in_transactional_callbacks = true
81220
+
81221
+ (called from <class:Account> at /Users/bram/apps/spina/app/models/spina/account.rb:5)
81222
+ 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.
81223
+
81224
+ You can opt into the new behavior and remove this warning by setting:
81225
+
81226
+ config.active_record.raise_in_transactional_callbacks = true
81227
+
81228
+ (called from <class:Account> at /Users/bram/apps/spina/app/models/spina/account.rb:5)
81229
+ Spina::Account Load (0.9ms) SELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1
81230
+ Spina::Page Load (0.6ms) 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
81231
+ Spina::Page Load (0.5ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'
81232
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'
81233
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'
81234
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'
81235
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'
81236
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'
81237
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'
81238
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'
81239
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'
81240
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'
81241
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'
81242
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (17.9ms)
81243
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (161.5ms)
81244
+ Spina::Inquiry Load (0.5ms) 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
81245
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (5.9ms)
81246
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (2.2ms)
81247
+ Rendered layouts/spina/admin/application.html.haml (225.1ms)
81248
+ Completed 200 OK in 459ms (Views: 394.6ms | ActiveRecord: 14.0ms)
81249
+
81250
+
81251
+ Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:15:23 +0200
81252
+ Processing by Spina::Admin::PagesController#edit as HTML
81253
+ Parameters: {"id"=>"hoi"}
81254
+ Spina::User Load (0.3ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
81255
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
81256
+ Spina::PagePart Load (0.3ms) 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"]]
81257
+ Spina::Text Load (0.3ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
81258
+ Spina::PagePart Load (0.3ms) 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"]]
81259
+ Spina::Structure Load (0.5ms) SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
81260
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
81261
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
81262
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (9.4ms)
81263
+ Spina::StructureItem Load (0.6ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
81264
+ Spina::StructurePart Load (0.6ms) 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]]
81265
+ Spina::StructurePart Load (0.3ms) 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]]
81266
+ Spina::Line Load (0.5ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
81267
+ Spina::StructurePart Load (0.2ms) 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]]
81268
+ Spina::StructurePart Load (0.4ms) 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]]
81269
+ Spina::Line Load (0.3ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
81270
+ Spina::StructurePart Load (0.3ms) 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]]
81271
+ Spina::StructurePart Load (0.3ms) 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]]
81272
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (53.8ms)
81273
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (83.9ms)
81274
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (87.9ms)
81275
+ Completed 500 Internal Server Error in 140ms (ActiveRecord: 12.7ms)
81276
+
81277
+ NoMethodError - undefined method `structure_partable' for nil:NilClass:
81278
+ /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'
81279
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
81280
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
81281
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
81282
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
81283
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
81284
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
81285
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
81286
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
81287
+ /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'
81288
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
81289
+ /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'
81290
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
81291
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
81292
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
81293
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
81294
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
81295
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
81296
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
81297
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81298
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81299
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81300
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
81301
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
81302
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
81303
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
81304
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
81305
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
81306
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
81307
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
81308
+ /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'
81309
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
81310
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
81311
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
81312
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
81313
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
81314
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
81315
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
81316
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
81317
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
81318
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
81319
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
81320
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
81321
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
81322
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
81323
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
81324
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
81325
+ /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'
81326
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
81327
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
81328
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
81329
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
81330
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
81331
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
81332
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
81333
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
81334
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
81335
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
81336
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
81337
+ /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'
81338
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
81339
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
81340
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
81341
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
81342
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
81343
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
81344
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
81345
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81346
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81347
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81348
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
81349
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
81350
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
81351
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
81352
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
81353
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
81354
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
81355
+ /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'
81356
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
81357
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
81358
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
81359
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
81360
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
81361
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
81362
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81363
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81364
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81365
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
81366
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
81367
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
81368
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
81369
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
81370
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
81371
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
81372
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
81373
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
81374
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
81375
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
81376
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
81377
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
81378
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
81379
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
81380
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
81381
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
81382
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
81383
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
81384
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
81385
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
81386
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
81387
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
81388
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
81389
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
81390
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
81391
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
81392
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
81393
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
81394
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
81395
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
81396
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
81397
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
81398
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
81399
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
81400
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
81401
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81402
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81403
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81404
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
81405
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
81406
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
81407
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
81408
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
81409
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
81410
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
81411
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
81412
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
81413
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
81414
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
81415
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
81416
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
81417
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
81418
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
81419
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
81420
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
81421
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
81422
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
81423
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
81424
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
81425
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
81426
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
81427
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
81428
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
81429
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
81430
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
81431
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
81432
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
81433
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
81434
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
81435
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
81436
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
81437
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
81438
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
81439
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
81440
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
81441
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
81442
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
81443
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
81444
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
81445
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
81446
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
81447
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
81448
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
81449
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
81450
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
81451
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
81452
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
81453
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
81454
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
81455
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
81456
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
81457
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
81458
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
81459
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
81460
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
81461
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
81462
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
81463
+ /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'
81464
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
81465
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
81466
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
81467
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
81468
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
81469
+
81470
+
81471
+
81472
+ Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:15:24 +0200
81473
+ Processing by Spina::Admin::PagesController#edit as HTML
81474
+ Parameters: {"id"=>"hoi"}
81475
+ Spina::User Load (0.3ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
81476
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
81477
+ Spina::PagePart Load (0.4ms) 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"]]
81478
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
81479
+ Spina::PagePart Load (0.2ms) 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"]]
81480
+ Spina::Structure Load (0.2ms) SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
81481
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
81482
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
81483
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (5.8ms)
81484
+ Spina::StructureItem Load (0.4ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
81485
+ Spina::StructurePart Load (0.3ms) 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]]
81486
+ Spina::StructurePart Load (0.2ms) 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]]
81487
+ Spina::Line Load (0.3ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
81488
+ Spina::StructurePart Load (0.2ms) 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]]
81489
+ Spina::StructurePart Load (0.2ms) 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]]
81490
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
81491
+ Spina::StructurePart Load (0.2ms) 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]]
81492
+ Spina::StructurePart Load (0.2ms) 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]]
81493
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (21.7ms)
81494
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (42.1ms)
81495
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (45.6ms)
81496
+ Completed 500 Internal Server Error in 60ms (ActiveRecord: 4.2ms)
81497
+
81498
+ NoMethodError - undefined method `structure_partable' for nil:NilClass:
81499
+ /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'
81500
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
81501
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
81502
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
81503
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
81504
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
81505
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
81506
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
81507
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
81508
+ /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'
81509
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
81510
+ /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'
81511
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
81512
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
81513
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
81514
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
81515
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
81516
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
81517
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
81518
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81519
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81520
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81521
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
81522
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
81523
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
81524
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
81525
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
81526
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
81527
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
81528
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
81529
+ /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'
81530
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
81531
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
81532
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
81533
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
81534
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
81535
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
81536
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
81537
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
81538
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
81539
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
81540
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
81541
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
81542
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
81543
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
81544
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
81545
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
81546
+ /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'
81547
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
81548
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
81549
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
81550
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
81551
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
81552
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
81553
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
81554
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
81555
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
81556
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
81557
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
81558
+ /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'
81559
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
81560
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
81561
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
81562
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
81563
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
81564
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
81565
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
81566
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81567
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81568
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81569
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
81570
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
81571
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
81572
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
81573
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
81574
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
81575
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
81576
+ /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'
81577
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
81578
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
81579
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
81580
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
81581
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
81582
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
81583
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81584
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81585
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81586
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
81587
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
81588
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
81589
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
81590
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
81591
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
81592
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
81593
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
81594
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
81595
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
81596
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
81597
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
81598
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
81599
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
81600
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
81601
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
81602
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
81603
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
81604
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
81605
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
81606
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
81607
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
81608
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
81609
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
81610
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
81611
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
81612
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
81613
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
81614
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
81615
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
81616
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
81617
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
81618
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
81619
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
81620
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
81621
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
81622
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81623
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81624
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81625
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
81626
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
81627
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
81628
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
81629
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
81630
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
81631
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
81632
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
81633
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
81634
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
81635
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
81636
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
81637
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
81638
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
81639
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
81640
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
81641
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
81642
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
81643
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
81644
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
81645
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
81646
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
81647
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
81648
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
81649
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
81650
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
81651
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
81652
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
81653
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
81654
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
81655
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
81656
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
81657
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
81658
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
81659
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
81660
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
81661
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
81662
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
81663
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
81664
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
81665
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
81666
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
81667
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
81668
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
81669
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
81670
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
81671
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
81672
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
81673
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
81674
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
81675
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
81676
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
81677
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
81678
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
81679
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
81680
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
81681
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
81682
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
81683
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
81684
+ /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'
81685
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
81686
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
81687
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
81688
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
81689
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
81690
+
81691
+
81692
+
81693
+ Started POST "/__better_errors/70337291112860/variables" for 127.0.0.1 at 2015-04-21 11:15:24 +0200
81694
+ Spina::Inquiry Load (0.4ms) 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
81695
+
81696
+
81697
+ Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:15:32 +0200
81698
+ Processing by Spina::Admin::PagesController#index as HTML
81699
+ Spina::User Load (0.4ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
81700
+ Spina::Account Load (0.5ms) SELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1
81701
+ Spina::Page Load (0.4ms) 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
81702
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'
81703
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'
81704
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'
81705
+ Spina::Page Load (0.6ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'
81706
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'
81707
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'
81708
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'
81709
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'
81710
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'
81711
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'
81712
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'
81713
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (20.6ms)
81714
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (31.5ms)
81715
+ Spina::Inquiry Load (0.4ms) 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
81716
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (4.0ms)
81717
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (2.4ms)
81718
+ Rendered layouts/spina/admin/application.html.haml (28.9ms)
81719
+ Completed 200 OK in 71ms (Views: 61.9ms | ActiveRecord: 5.4ms)
81720
+ 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)
81721
+
81722
+
81723
+ Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:15:53 +0200
81724
+ Processing by Spina::Admin::PagesController#index as HTML
81725
+ Spina::User Load (0.4ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
81726
+ Spina::Account Load (0.5ms) SELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1
81727
+ Spina::Page Load (0.4ms) 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
81728
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'
81729
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'
81730
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'
81731
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'
81732
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'
81733
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'
81734
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'
81735
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'
81736
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'
81737
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'
81738
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'
81739
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (13.3ms)
81740
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (19.5ms)
81741
+ Spina::Inquiry Load (0.5ms) 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
81742
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.9ms)
81743
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
81744
+ Rendered layouts/spina/admin/application.html.haml (19.2ms)
81745
+ Completed 200 OK in 48ms (Views: 40.1ms | ActiveRecord: 4.7ms)
81746
+
81747
+
81748
+ Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:15:56 +0200
81749
+ Processing by Spina::Admin::PagesController#edit as HTML
81750
+ Parameters: {"id"=>"hoi"}
81751
+ Spina::User Load (0.4ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
81752
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
81753
+ Spina::PagePart Load (0.2ms) 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"]]
81754
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
81755
+ Spina::PagePart Load (0.2ms) 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"]]
81756
+ Spina::Structure Load (0.2ms) SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
81757
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
81758
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
81759
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.8ms)
81760
+ Spina::StructureItem Load (0.3ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
81761
+ Spina::StructurePart Load (0.2ms) 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]]
81762
+ Spina::StructurePart Load (0.1ms) 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]]
81763
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
81764
+ Spina::StructurePart Load (0.1ms) 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]]
81765
+ Spina::StructurePart Load (0.2ms) 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]]
81766
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
81767
+ Spina::StructurePart Load (0.2ms) 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]]
81768
+ Spina::StructurePart Load (0.2ms) 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]]
81769
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (13.3ms)
81770
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (23.3ms)
81771
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (26.0ms)
81772
+ Completed 500 Internal Server Error in 39ms (ActiveRecord: 3.5ms)
81773
+
81774
+ NoMethodError - undefined method `structure_partable' for nil:NilClass:
81775
+ /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'
81776
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
81777
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
81778
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
81779
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
81780
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
81781
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
81782
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
81783
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
81784
+ /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'
81785
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
81786
+ /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'
81787
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
81788
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
81789
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
81790
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
81791
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
81792
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
81793
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
81794
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81795
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81796
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81797
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
81798
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
81799
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
81800
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
81801
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
81802
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
81803
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
81804
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
81805
+ /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'
81806
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
81807
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
81808
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
81809
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
81810
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
81811
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
81812
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
81813
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
81814
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
81815
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
81816
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
81817
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
81818
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
81819
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
81820
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
81821
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
81822
+ /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'
81823
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
81824
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
81825
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
81826
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
81827
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
81828
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
81829
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
81830
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
81831
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
81832
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
81833
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
81834
+ /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'
81835
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
81836
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
81837
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
81838
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
81839
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
81840
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
81841
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
81842
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81843
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81844
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81845
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
81846
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
81847
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
81848
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
81849
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
81850
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
81851
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
81852
+ /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'
81853
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
81854
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
81855
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
81856
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
81857
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
81858
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
81859
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81860
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81861
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81862
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
81863
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
81864
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
81865
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
81866
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
81867
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
81868
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
81869
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
81870
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
81871
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
81872
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
81873
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
81874
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
81875
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
81876
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
81877
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
81878
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
81879
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
81880
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
81881
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
81882
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
81883
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
81884
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
81885
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
81886
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
81887
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
81888
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
81889
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
81890
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
81891
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
81892
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
81893
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
81894
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
81895
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
81896
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
81897
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
81898
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
81899
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
81900
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
81901
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
81902
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
81903
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
81904
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
81905
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
81906
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
81907
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
81908
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
81909
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
81910
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
81911
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
81912
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
81913
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
81914
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
81915
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
81916
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
81917
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
81918
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
81919
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
81920
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
81921
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
81922
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
81923
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
81924
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
81925
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
81926
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
81927
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
81928
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
81929
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
81930
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
81931
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
81932
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
81933
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
81934
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
81935
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
81936
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
81937
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
81938
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
81939
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
81940
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
81941
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
81942
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
81943
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
81944
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
81945
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
81946
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
81947
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
81948
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
81949
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
81950
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
81951
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
81952
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
81953
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
81954
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
81955
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
81956
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
81957
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
81958
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
81959
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
81960
+ /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'
81961
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
81962
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
81963
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
81964
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
81965
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
81966
+
81967
+
81968
+
81969
+ Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:15:57 +0200
81970
+ Processing by Spina::Admin::PagesController#edit as HTML
81971
+ Parameters: {"id"=>"hoi"}
81972
+ Spina::User Load (0.2ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
81973
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
81974
+ Spina::PagePart Load (0.2ms) 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"]]
81975
+ Spina::Text Load (0.3ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
81976
+ Spina::PagePart Load (0.3ms) 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"]]
81977
+ Spina::Structure Load (0.3ms) SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
81978
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
81979
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
81980
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.5ms)
81981
+ Spina::StructureItem Load (0.3ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
81982
+ Spina::StructurePart Load (0.2ms) 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]]
81983
+ Spina::StructurePart Load (0.2ms) 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]]
81984
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
81985
+ Spina::StructurePart Load (0.2ms) 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]]
81986
+ Spina::StructurePart Load (0.2ms) 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]]
81987
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
81988
+ Spina::StructurePart Load (0.2ms) 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]]
81989
+ Spina::StructurePart Load (0.2ms) 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]]
81990
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (13.8ms)
81991
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (22.1ms)
81992
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (24.0ms)
81993
+ Completed 500 Internal Server Error in 36ms (ActiveRecord: 3.6ms)
81994
+
81995
+ NoMethodError - undefined method `structure_partable' for nil:NilClass:
81996
+ /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'
81997
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
81998
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
81999
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
82000
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
82001
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
82002
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
82003
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
82004
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
82005
+ /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'
82006
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
82007
+ /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'
82008
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
82009
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
82010
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
82011
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
82012
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
82013
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
82014
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
82015
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82016
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82017
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82018
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
82019
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
82020
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
82021
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
82022
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
82023
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
82024
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
82025
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
82026
+ /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'
82027
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
82028
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
82029
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
82030
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
82031
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
82032
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
82033
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
82034
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
82035
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
82036
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
82037
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
82038
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
82039
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
82040
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
82041
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
82042
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
82043
+ /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'
82044
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
82045
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
82046
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
82047
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
82048
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
82049
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
82050
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
82051
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
82052
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
82053
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
82054
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
82055
+ /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'
82056
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
82057
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
82058
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
82059
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
82060
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
82061
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
82062
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
82063
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82064
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82065
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82066
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
82067
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
82068
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
82069
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
82070
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
82071
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
82072
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
82073
+ /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'
82074
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
82075
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
82076
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
82077
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
82078
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
82079
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
82080
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82081
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82082
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82083
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
82084
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
82085
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
82086
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
82087
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
82088
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
82089
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
82090
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
82091
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
82092
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
82093
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
82094
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
82095
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
82096
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
82097
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
82098
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
82099
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
82100
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
82101
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
82102
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
82103
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
82104
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
82105
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
82106
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
82107
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
82108
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
82109
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
82110
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
82111
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
82112
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
82113
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
82114
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
82115
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
82116
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
82117
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
82118
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
82119
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82120
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82121
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82122
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
82123
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
82124
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
82125
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
82126
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
82127
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
82128
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
82129
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
82130
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
82131
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
82132
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
82133
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
82134
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
82135
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
82136
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
82137
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
82138
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
82139
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
82140
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
82141
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
82142
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
82143
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
82144
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
82145
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
82146
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
82147
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
82148
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
82149
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
82150
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
82151
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
82152
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
82153
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
82154
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
82155
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
82156
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
82157
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
82158
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
82159
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
82160
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
82161
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
82162
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
82163
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
82164
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
82165
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
82166
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
82167
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
82168
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
82169
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
82170
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
82171
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
82172
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
82173
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
82174
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
82175
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
82176
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
82177
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
82178
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
82179
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
82180
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
82181
+ /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'
82182
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
82183
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
82184
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
82185
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
82186
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
82187
+
82188
+
82189
+
82190
+ Started POST "/__better_errors/70337234614600/variables" for 127.0.0.1 at 2015-04-21 11:15:57 +0200
82191
+ Spina::Inquiry Load (0.3ms) 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
82192
+
82193
+
82194
+ Started GET "/admin/pages/efwefwefw/edit" for 127.0.0.1 at 2015-04-21 11:16:00 +0200
82195
+ Processing by Spina::Admin::PagesController#edit as HTML
82196
+ Parameters: {"id"=>"efwefwefw"}
82197
+ Spina::User Load (0.3ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82198
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "efwefwefw"]]
82199
+ Spina::PagePart Load (0.2ms) 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"]]
82200
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 8]]
82201
+ Spina::PagePart Load (0.2ms) 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"]]
82202
+ Spina::Structure Load (0.2ms) SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 2]]
82203
+ Spina::Page Load (0.5ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 9]]
82204
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 9]]
82205
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.5ms)
82206
+ Spina::StructureItem Load (0.4ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 2]]
82207
+ Spina::StructurePart Load (0.3ms) 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", 8]]
82208
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 22]]
82209
+ Spina::PagePart Load (0.3ms) SELECT "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 [["page_partable_id", 2], ["page_partable_type", "Spina::Structure"]]
82210
+ CACHE (0.0ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 2]]
82211
+ Spina::StructurePart Load (0.4ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 8]]
82212
+ CACHE (0.0ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 22]]
82213
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (2.7ms)
82214
+ Spina::Text Load (0.3ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 9]]
82215
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (6.3ms)
82216
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (3.1ms)
82217
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (26.5ms)
82218
+ 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.
82219
+
82220
+ You can opt into the new behavior and remove this warning by setting:
82221
+
82222
+ config.active_record.raise_in_transactional_callbacks = true
82223
+
82224
+ (called from <class:Photo> at /Users/bram/apps/spina/app/models/spina/photo.rb:3)
82225
+ 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.
82226
+
82227
+ You can opt into the new behavior and remove this warning by setting:
82228
+
82229
+ config.active_record.raise_in_transactional_callbacks = true
82230
+
82231
+ (called from <class:Photo> at /Users/bram/apps/spina/app/models/spina/photo.rb:3)
82232
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.4ms)
82233
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.3ms)
82234
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.8ms)
82235
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (11.9ms)
82236
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (69.5ms)
82237
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (89.2ms)
82238
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (94.4ms)
82239
+ Spina::Inquiry Load (0.4ms) 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
82240
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.7ms)
82241
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
82242
+ Rendered layouts/spina/admin/application.html.haml (18.9ms)
82243
+ Completed 200 OK in 136ms (Views: 122.7ms | ActiveRecord: 5.3ms)
82244
+
82245
+
82246
+ Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:16:03 +0200
82247
+ Processing by Spina::Admin::PagesController#edit as HTML
82248
+ Parameters: {"id"=>"hoi"}
82249
+ Spina::User Load (0.2ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82250
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
82251
+ Spina::PagePart Load (0.3ms) 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"]]
82252
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
82253
+ Spina::PagePart Load (0.2ms) 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"]]
82254
+ Spina::Structure Load (0.3ms) SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
82255
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
82256
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
82257
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.4ms)
82258
+ Spina::StructureItem Load (0.3ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
82259
+ Spina::StructurePart Load (0.2ms) 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]]
82260
+ Spina::StructurePart Load (0.3ms) 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]]
82261
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
82262
+ Spina::StructurePart Load (0.2ms) 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]]
82263
+ Spina::StructurePart Load (0.3ms) 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]]
82264
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
82265
+ Spina::StructurePart Load (0.2ms) 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]]
82266
+ Spina::StructurePart Load (0.2ms) 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]]
82267
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (15.5ms)
82268
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (25.5ms)
82269
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (28.4ms)
82270
+ Completed 500 Internal Server Error in 41ms (ActiveRecord: 3.9ms)
82271
+
82272
+ NoMethodError - undefined method `structure_partable' for nil:NilClass:
82273
+ /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'
82274
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
82275
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
82276
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
82277
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
82278
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
82279
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
82280
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
82281
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
82282
+ /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'
82283
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
82284
+ /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'
82285
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
82286
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
82287
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
82288
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
82289
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
82290
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
82291
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
82292
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82293
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82294
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82295
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
82296
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
82297
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
82298
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
82299
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
82300
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
82301
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
82302
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
82303
+ /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'
82304
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
82305
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
82306
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
82307
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
82308
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
82309
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
82310
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
82311
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
82312
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
82313
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
82314
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
82315
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
82316
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
82317
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
82318
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
82319
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
82320
+ /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'
82321
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
82322
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
82323
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
82324
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
82325
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
82326
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
82327
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
82328
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
82329
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
82330
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
82331
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
82332
+ /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'
82333
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
82334
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
82335
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
82336
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
82337
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
82338
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
82339
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
82340
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82341
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82342
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82343
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
82344
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
82345
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
82346
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
82347
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
82348
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
82349
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
82350
+ /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'
82351
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
82352
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
82353
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
82354
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
82355
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
82356
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
82357
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82358
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82359
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82360
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
82361
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
82362
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
82363
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
82364
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
82365
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
82366
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
82367
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
82368
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
82369
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
82370
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
82371
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
82372
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
82373
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
82374
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
82375
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
82376
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
82377
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
82378
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
82379
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
82380
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
82381
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
82382
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
82383
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
82384
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
82385
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
82386
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
82387
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
82388
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
82389
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
82390
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
82391
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
82392
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
82393
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
82394
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
82395
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
82396
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82397
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82398
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82399
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
82400
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
82401
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
82402
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
82403
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
82404
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
82405
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
82406
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
82407
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
82408
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
82409
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
82410
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
82411
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
82412
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
82413
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
82414
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
82415
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
82416
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
82417
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
82418
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
82419
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
82420
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
82421
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
82422
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
82423
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
82424
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
82425
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
82426
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
82427
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
82428
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
82429
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
82430
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
82431
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
82432
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
82433
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
82434
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
82435
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
82436
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
82437
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
82438
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
82439
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
82440
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
82441
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
82442
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
82443
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
82444
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
82445
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
82446
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
82447
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
82448
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
82449
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
82450
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
82451
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
82452
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
82453
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
82454
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
82455
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
82456
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
82457
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
82458
+ /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'
82459
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
82460
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
82461
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
82462
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
82463
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
82464
+
82465
+
82466
+
82467
+ Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:16:03 +0200
82468
+ Processing by Spina::Admin::PagesController#edit as HTML
82469
+ Parameters: {"id"=>"hoi"}
82470
+ Spina::User Load (0.2ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82471
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
82472
+ Spina::PagePart Load (0.2ms) 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"]]
82473
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
82474
+ Spina::PagePart Load (0.2ms) 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"]]
82475
+ Spina::Structure Load (0.2ms) SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
82476
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
82477
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
82478
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (2.1ms)
82479
+ Spina::StructureItem Load (0.3ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
82480
+ Spina::StructurePart Load (0.3ms) 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]]
82481
+ Spina::StructurePart Load (0.2ms) 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]]
82482
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
82483
+ Spina::StructurePart Load (0.2ms) 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]]
82484
+ Spina::StructurePart Load (0.2ms) 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]]
82485
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
82486
+ Spina::StructurePart Load (0.2ms) 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]]
82487
+ Spina::StructurePart Load (0.2ms) 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]]
82488
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (14.7ms)
82489
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (23.4ms)
82490
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (25.7ms)
82491
+ Completed 500 Internal Server Error in 38ms (ActiveRecord: 3.2ms)
82492
+
82493
+ NoMethodError - undefined method `structure_partable' for nil:NilClass:
82494
+ /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'
82495
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
82496
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
82497
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
82498
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
82499
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
82500
+ actionview (4.2.1) lib/action_view/helpers/tag_helper.rb:106:in `content_tag'
82501
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:69:in `content_tag_with_haml'
82502
+ actionview (4.2.1) lib/action_view/helpers/url_helper.rb:184:in `link_to'
82503
+ /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'
82504
+ activerecord (4.2.1) lib/active_record/relation/delegation.rb:46:in `each'
82505
+ /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'
82506
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
82507
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
82508
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
82509
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
82510
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
82511
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
82512
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
82513
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82514
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82515
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82516
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
82517
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
82518
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
82519
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:21:in `render'
82520
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:32:in `render'
82521
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
82522
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
82523
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
82524
+ /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'
82525
+ haml (4.0.6) lib/haml/helpers.rb:368:in `block in capture_haml'
82526
+ haml (4.0.6) lib/haml/helpers.rb:608:in `with_haml_buffer'
82527
+ haml (4.0.6) lib/haml/helpers.rb:364:in `capture_haml'
82528
+ haml (4.0.6) lib/haml/helpers/xss_mods.rb:61:in `capture_haml_with_haml_xss'
82529
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:45:in `capture_with_haml'
82530
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1924:in `block in fields_for_nested_model'
82531
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
82532
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
82533
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
82534
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
82535
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
82536
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:714:in `fields_for'
82537
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1923:in `fields_for_nested_model'
82538
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1909:in `block in fields_for_with_nested_attributes'
82539
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1907:in `fields_for_with_nested_attributes'
82540
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:1581:in `fields_for'
82541
+ /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'
82542
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block (2 levels) in form_for_with_haml'
82543
+ haml (4.0.6) lib/haml/helpers.rb:278:in `with_tabs'
82544
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:137:in `block in form_for_with_haml'
82545
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
82546
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
82547
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
82548
+ actionview (4.2.1) lib/action_view/helpers/capture_helper.rb:38:in `capture'
82549
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:52:in `capture_with_haml'
82550
+ actionview (4.2.1) lib/action_view/helpers/form_helper.rb:444:in `form_for'
82551
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:139:in `form_for_with_haml'
82552
+ haml (4.0.6) lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
82553
+ /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'
82554
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
82555
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
82556
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
82557
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
82558
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
82559
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
82560
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
82561
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82562
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82563
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82564
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
82565
+ actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:309:in `render'
82566
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:47:in `render_partial'
82567
+ actionview (4.2.1) lib/action_view/helpers/rendering_helper.rb:35:in `render'
82568
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
82569
+ haml (4.0.6) lib/haml/helpers.rb:89:in `non_haml'
82570
+ haml (4.0.6) lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
82571
+ /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'
82572
+ actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
82573
+ activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
82574
+ actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
82575
+ actionview (4.2.1) lib/action_view/template.rb:143:in `render'
82576
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
82577
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
82578
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82579
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82580
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82581
+ actionview (4.2.1) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
82582
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
82583
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
82584
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:52:in `render_template'
82585
+ actionview (4.2.1) lib/action_view/renderer/template_renderer.rb:14:in `render'
82586
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:42:in `render_template'
82587
+ actionview (4.2.1) lib/action_view/renderer/renderer.rb:23:in `render'
82588
+ actionview (4.2.1) lib/action_view/rendering.rb:100:in `_render_template'
82589
+ actionpack (4.2.1) lib/action_controller/metal/streaming.rb:217:in `_render_template'
82590
+ actionview (4.2.1) lib/action_view/rendering.rb:83:in `render_to_body'
82591
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
82592
+ actionpack (4.2.1) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
82593
+ actionpack (4.2.1) lib/abstract_controller/rendering.rb:25:in `render'
82594
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:16:in `render'
82595
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
82596
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
82597
+ /Users/bram/.rbenv/versions/2.2.0/lib/ruby/2.2.0/benchmark.rb:303:in `realtime'
82598
+ activesupport (4.2.1) lib/active_support/core_ext/benchmark.rb:12:in `ms'
82599
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:44:in `block in render'
82600
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
82601
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
82602
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:43:in `render'
82603
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
82604
+ actionpack (4.2.1) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
82605
+ actionpack (4.2.1) lib/abstract_controller/base.rb:198:in `process_action'
82606
+ actionpack (4.2.1) lib/action_controller/metal/rendering.rb:10:in `process_action'
82607
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
82608
+ activesupport (4.2.1) lib/active_support/callbacks.rb:117:in `call'
82609
+ activesupport (4.2.1) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
82610
+ activesupport (4.2.1) lib/active_support/callbacks.rb:505:in `call'
82611
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
82612
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
82613
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
82614
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
82615
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
82616
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
82617
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
82618
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
82619
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
82620
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
82621
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
82622
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
82623
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
82624
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
82625
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
82626
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
82627
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
82628
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
82629
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
82630
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
82631
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
82632
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
82633
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
82634
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
82635
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
82636
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
82637
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
82638
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
82639
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
82640
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
82641
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
82642
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
82643
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
82644
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
82645
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
82646
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
82647
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
82648
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
82649
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
82650
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
82651
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
82652
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
82653
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
82654
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
82655
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
82656
+ better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call'
82657
+ better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call'
82658
+ better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call'
82659
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
82660
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
82661
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
82662
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
82663
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
82664
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
82665
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
82666
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
82667
+ quiet_assets (1.1.0) lib/quiet_assets.rb:27:in `call_with_quiet_assets'
82668
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
82669
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
82670
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
82671
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
82672
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
82673
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
82674
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
82675
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
82676
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
82677
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
82678
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:155:in `handle'
82679
+ /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'
82680
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:106:in `block (2 levels) in start'
82681
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:96:in `block in start'
82682
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:76:in `start'
82683
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/lib/nack/server.rb:12:in `run'
82684
+ /Users/bram/Library/Application Support/Pow/Versions/0.5.0/node_modules/nack/bin/nack_worker:4:in `<main>'
82685
+
82686
+
82687
+
82688
+ Started POST "/__better_errors/70337230199640/variables" for 127.0.0.1 at 2015-04-21 11:16:03 +0200
82689
+ Spina::Inquiry Load (0.4ms) 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
82690
+
82691
+
82692
+ Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:16:20 +0200
82693
+ Processing by Spina::Admin::PagesController#edit as HTML
82694
+ Parameters: {"id"=>"hoi"}
82695
+ Spina::User Load (0.3ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82696
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
82697
+ Spina::PagePart Load (0.2ms) 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"]]
82698
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
82699
+ Spina::PagePart Load (0.2ms) 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"]]
82700
+ Spina::Structure Load (0.2ms) SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
82701
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
82702
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
82703
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.6ms)
82704
+ Spina::StructureItem Load (0.2ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
82705
+ Spina::StructurePart Load (0.3ms) 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]]
82706
+ Spina::StructurePart Load (0.2ms) 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]]
82707
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
82708
+ Spina::StructurePart Load (0.2ms) 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]]
82709
+ Spina::StructurePart Load (0.2ms) 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]]
82710
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
82711
+ Spina::StructurePart Load (0.2ms) 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]]
82712
+ Spina::StructurePart Load (0.2ms) 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]]
82713
+ Spina::StructurePart Load (0.2ms) 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", 6]]
82714
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 20]]
82715
+ Spina::PagePart Load (0.3ms) SELECT "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 [["page_partable_id", 1], ["page_partable_type", "Spina::Structure"]]
82716
+ CACHE (0.0ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
82717
+ Spina::StructurePart Load (0.4ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 2]]
82718
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.7ms)
82719
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (6.0ms)
82720
+ Spina::StructurePart Load (0.3ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 7]]
82721
+ CACHE (0.0ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
82722
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (1.0ms)
82723
+ Spina::Text Load (0.3ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 6]]
82724
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (3.5ms)
82725
+ Spina::Photo Load (0.4ms) SELECT "spina_photos".* FROM "spina_photos" WHERE "spina_photos"."id" = $1 LIMIT 1 [["id", 14]]
82726
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (3.8ms)
82727
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (15.9ms)
82728
+ Spina::StructurePart Load (0.3ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 1]]
82729
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
82730
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (3.5ms)
82731
+ Spina::StructurePart Load (0.3ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 5]]
82732
+ CACHE (0.0ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
82733
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.9ms)
82734
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 4]]
82735
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.8ms)
82736
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (7.9ms)
82737
+ Spina::StructurePart Load (0.3ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 3]]
82738
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
82739
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (3.3ms)
82740
+ Spina::StructurePart Load (0.2ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 4]]
82741
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (0.9ms)
82742
+ Spina::StructurePart Load (0.2ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 6]]
82743
+ CACHE (0.0ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 20]]
82744
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.7ms)
82745
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 5]]
82746
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.7ms)
82747
+ CACHE (0.0ms) SELECT "spina_photos".* FROM "spina_photos" WHERE "spina_photos"."id" = $1 LIMIT 1 [["id", 14]]
82748
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (1.6ms)
82749
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (11.1ms)
82750
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.3ms)
82751
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.1ms)
82752
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.4ms)
82753
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (8.0ms)
82754
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (89.2ms)
82755
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (103.9ms)
82756
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (111.5ms)
82757
+ Spina::Inquiry Load (0.4ms) 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
82758
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.8ms)
82759
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
82760
+ Rendered layouts/spina/admin/application.html.haml (17.7ms)
82761
+ Completed 200 OK in 162ms (Views: 147.5ms | ActiveRecord: 7.8ms)
82762
+
82763
+
82764
+ Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:16:27 +0200
82765
+ Processing by Spina::Admin::PagesController#index as HTML
82766
+ Spina::User Load (0.2ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82767
+ Spina::Account Load (0.4ms) SELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1
82768
+ Spina::Page Load (0.4ms) 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
82769
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'
82770
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'
82771
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'
82772
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'
82773
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'
82774
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'
82775
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'
82776
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'
82777
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'
82778
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'
82779
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'
82780
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (13.6ms)
82781
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (20.8ms)
82782
+ Spina::Inquiry Load (0.5ms) 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
82783
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.6ms)
82784
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
82785
+ Rendered layouts/spina/admin/application.html.haml (19.8ms)
82786
+ Completed 200 OK in 51ms (Views: 43.1ms | ActiveRecord: 4.5ms)
82787
+
82788
+
82789
+ Started GET "/admin/pages/hoi/edit" for 127.0.0.1 at 2015-04-21 11:16:34 +0200
82790
+ Processing by Spina::Admin::PagesController#edit as HTML
82791
+ Parameters: {"id"=>"hoi"}
82792
+ Spina::User Load (0.3ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82793
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "hoi"]]
82794
+ Spina::PagePart Load (0.2ms) 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"]]
82795
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 3]]
82796
+ Spina::PagePart Load (0.2ms) 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"]]
82797
+ Spina::Structure Load (0.2ms) SELECT "spina_structures".* FROM "spina_structures" WHERE "spina_structures"."id" = $1 LIMIT 1 [["id", 1]]
82798
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
82799
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 3]]
82800
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.9ms)
82801
+ Spina::StructureItem Load (0.3ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
82802
+ Spina::StructurePart Load (0.2ms) 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]]
82803
+ Spina::StructurePart Load (0.2ms) 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]]
82804
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
82805
+ Spina::StructurePart Load (0.2ms) 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]]
82806
+ Spina::StructurePart Load (0.2ms) 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]]
82807
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
82808
+ Spina::StructurePart Load (0.3ms) 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]]
82809
+ Spina::StructurePart Load (0.3ms) 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]]
82810
+ Spina::StructurePart Load (0.2ms) 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", 6]]
82811
+ Spina::Line Load (0.2ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 20]]
82812
+ Spina::PagePart Load (0.2ms) SELECT "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 [["page_partable_id", 1], ["page_partable_type", "Spina::Structure"]]
82813
+ CACHE (0.0ms) SELECT "spina_structure_items".* FROM "spina_structure_items" WHERE "spina_structure_items"."structure_id" = $1 ORDER BY position [["structure_id", 1]]
82814
+ Spina::StructurePart Load (0.2ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 2]]
82815
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
82816
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (4.1ms)
82817
+ Spina::StructurePart Load (0.2ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 7]]
82818
+ CACHE (0.0ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 21]]
82819
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (1.3ms)
82820
+ Spina::Text Load (0.3ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 6]]
82821
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (2.5ms)
82822
+ Spina::Photo Load (0.3ms) SELECT "spina_photos".* FROM "spina_photos" WHERE "spina_photos"."id" = $1 LIMIT 1 [["id", 14]]
82823
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (2.3ms)
82824
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (18.0ms)
82825
+ Spina::StructurePart Load (0.3ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 1]]
82826
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
82827
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (4.7ms)
82828
+ Spina::StructurePart Load (0.4ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 5]]
82829
+ CACHE (0.0ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 19]]
82830
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (1.1ms)
82831
+ Spina::Text Load (0.3ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 4]]
82832
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (2.5ms)
82833
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (12.9ms)
82834
+ Spina::StructurePart Load (0.3ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 3]]
82835
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.1ms)
82836
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (5.1ms)
82837
+ Spina::StructurePart Load (0.2ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 4]]
82838
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (1.7ms)
82839
+ Spina::StructurePart Load (0.2ms) SELECT "spina_structure_parts".* FROM "spina_structure_parts" WHERE "spina_structure_parts"."structure_item_id" = $1 [["structure_item_id", 6]]
82840
+ CACHE (0.0ms) SELECT "spina_lines".* FROM "spina_lines" WHERE "spina_lines"."id" = $1 LIMIT 1 [["id", 20]]
82841
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (1.4ms)
82842
+ Spina::Text Load (0.3ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 5]]
82843
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (3.5ms)
82844
+ CACHE (0.0ms) SELECT "spina_photos".* FROM "spina_photos" WHERE "spina_photos"."id" = $1 LIMIT 1 [["id", 14]]
82845
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (1.5ms)
82846
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (19.5ms)
82847
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.5ms)
82848
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.2ms)
82849
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.7ms)
82850
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (11.6ms)
82851
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (121.2ms)
82852
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (137.8ms)
82853
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (145.3ms)
82854
+ Spina::Inquiry Load (0.5ms) 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
82855
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.9ms)
82856
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
82857
+ Rendered layouts/spina/admin/application.html.haml (20.8ms)
82858
+ Completed 200 OK in 196ms (Views: 182.3ms | ActiveRecord: 7.5ms)
82859
+
82860
+
82861
+ Started GET "/admin/pages" for 127.0.0.1 at 2015-04-21 11:16:37 +0200
82862
+ Processing by Spina::Admin::PagesController#index as HTML
82863
+ Spina::User Load (0.2ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82864
+ Spina::Account Load (0.5ms) SELECT "spina_accounts".* FROM "spina_accounts" ORDER BY "spina_accounts"."id" ASC LIMIT 1
82865
+ Spina::Page Load (0.4ms) 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
82866
+ Spina::Page Load (0.5ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '3' AND "spina_pages"."active" = 't'
82867
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2' AND "spina_pages"."active" = 't'
82868
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '5' AND "spina_pages"."active" = 't'
82869
+ Spina::Page Load (0.4ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '6' AND "spina_pages"."active" = 't'
82870
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '10' AND "spina_pages"."active" = 't'
82871
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '12' AND "spina_pages"."active" = 't'
82872
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '13' AND "spina_pages"."active" = 't'
82873
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '11' AND "spina_pages"."active" = 't'
82874
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '7' AND "spina_pages"."active" = 't'
82875
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '8' AND "spina_pages"."active" = 't'
82876
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '9' AND "spina_pages"."active" = 't'
82877
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_page.html.haml (15.5ms)
82878
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/index.html.haml within layouts/spina/admin/website (23.0ms)
82879
+ Spina::Inquiry Load (0.4ms) 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
82880
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.7ms)
82881
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
82882
+ Rendered layouts/spina/admin/application.html.haml (19.7ms)
82883
+ Completed 200 OK in 60ms (Views: 46.6ms | ActiveRecord: 4.8ms)
82884
+
82885
+
82886
+ Started GET "/admin/pages/aewfawef/edit" for 127.0.0.1 at 2015-04-21 11:16:40 +0200
82887
+ Processing by Spina::Admin::PagesController#edit as HTML
82888
+ Parameters: {"id"=>"aewfawef"}
82889
+ Spina::User Load (0.2ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82890
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "aewfawef"]]
82891
+ Spina::PagePart Load (0.2ms) 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"]]
82892
+ Spina::PagePart Load (0.2ms) 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", "team"]]
82893
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 2]]
82894
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 2]]
82895
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (1.9ms)
82896
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.3ms)
82897
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.5ms)
82898
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.7ms)
82899
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (11.6ms)
82900
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (18.0ms)
82901
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (30.9ms)
82902
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (34.2ms)
82903
+ Spina::Inquiry Load (0.4ms) 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
82904
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.6ms)
82905
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
82906
+ Rendered layouts/spina/admin/application.html.haml (19.2ms)
82907
+ Completed 200 OK in 70ms (Views: 62.3ms | ActiveRecord: 1.4ms)
82908
+
82909
+
82910
+ Started PATCH "/admin/pages/aewfawef" for 127.0.0.1 at 2015-04-21 11:16:41 +0200
82911
+ Processing by Spina::Admin::PagesController#update as JS
82912
+ 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"}
82913
+ Spina::User Load (0.2ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82914
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "aewfawef"]]
82915
+  (0.2ms) BEGIN
82916
+ Spina::PagePart Exists (0.3ms) SELECT 1 AS one FROM "spina_page_parts" WHERE ("spina_page_parts"."name" = 'content' AND "spina_page_parts"."page_id" = 2) LIMIT 1
82917
+ Spina::PagePart Exists (0.3ms) SELECT 1 AS one FROM "spina_page_parts" WHERE ("spina_page_parts"."name" = 'team' AND "spina_page_parts"."page_id" = 2) LIMIT 1
82918
+ SQL (0.3ms) 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"]]
82919
+ SQL (0.3ms) INSERT 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" [["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"]]
82920
+ SQL (0.2ms) 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"]]
82921
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."ancestry" = '2'
82922
+  (0.4ms) COMMIT
82923
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/update.js.coffee (78.6ms)
82924
+ Completed 200 OK in 127ms (Views: 105.2ms | ActiveRecord: 2.9ms)
82925
+
82926
+
82927
+ Started GET "/admin/pages/aewfawef/edit" for 127.0.0.1 at 2015-04-21 11:17:27 +0200
82928
+ Processing by Spina::Admin::PagesController#edit as HTML
82929
+ Parameters: {"id"=>"aewfawef"}
82930
+ Spina::User Load (0.2ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82931
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "aewfawef"]]
82932
+ Spina::PagePart Load (0.2ms) 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"]]
82933
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 15]]
82934
+ Spina::PagePart Load (0.2ms) 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", "team"]]
82935
+ Spina::Page Load (0.2ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 2]]
82936
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 2]]
82937
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (2.6ms)
82938
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.5ms)
82939
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.3ms)
82940
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.8ms)
82941
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (10.4ms)
82942
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (16.7ms)
82943
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (31.5ms)
82944
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (34.8ms)
82945
+ Spina::Inquiry Load (0.4ms) 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
82946
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.6ms)
82947
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
82948
+ Rendered layouts/spina/admin/application.html.haml (21.0ms)
82949
+ Completed 200 OK in 76ms (Views: 65.2ms | ActiveRecord: 1.7ms)
82950
+
82951
+
82952
+ Started GET "/admin/pages/aewfawef/edit" for 127.0.0.1 at 2015-04-21 11:17:34 +0200
82953
+ Processing by Spina::Admin::PagesController#edit as HTML
82954
+ Parameters: {"id"=>"aewfawef"}
82955
+ Spina::User Load (0.2ms) SELECT "spina_users".* FROM "spina_users" WHERE "spina_users"."id" = $1 ORDER BY "spina_users"."id" ASC LIMIT 1 [["id", 1]]
82956
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."slug" = $1 ORDER BY "spina_pages"."id" ASC LIMIT 1 [["slug", "aewfawef"]]
82957
+ Spina::PagePart Load (0.2ms) 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"]]
82958
+ Spina::Text Load (0.2ms) SELECT "spina_texts".* FROM "spina_texts" WHERE "spina_texts"."id" = $1 LIMIT 1 [["id", 15]]
82959
+ Spina::PagePart Load (0.2ms) 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", "team"]]
82960
+ Spina::Page Load (0.3ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 2]]
82961
+ CACHE (0.0ms) SELECT "spina_pages".* FROM "spina_pages" WHERE "spina_pages"."id" = $1 LIMIT 1 [["id", 2]]
82962
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_text_form.html.haml (2.5ms)
82963
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_line_form.html.haml (0.3ms)
82964
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_text_form.html.haml (1.7ms)
82965
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/structure_partables/_photo_form.html.haml (0.6ms)
82966
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_structure_item_fields.html.haml (9.5ms)
82967
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/page_partables/_structure_form.html.haml (15.2ms)
82968
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/_form.html.haml (27.9ms)
82969
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/pages/edit.html.haml within layouts/spina/admin/website (30.5ms)
82970
+ Spina::Inquiry Load (0.4ms) 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
82971
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_navigation.html.haml (1.6ms)
82972
+ Rendered /Users/bram/apps/spina/app/views/spina/admin/shared/_notifications.html.haml (0.1ms)
82973
+ Rendered layouts/spina/admin/application.html.haml (17.8ms)
82974
+ Completed 200 OK in 65ms (Views: 56.2ms | ActiveRecord: 1.7ms)