customer_vault 1.2.3 → 1.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,12 +3,15 @@
3
3
  .person.cadre
4
4
  - target = link[:person]
5
5
 
6
- - if target.instance_of? CustomerVault::Individual
6
+ - if target.is_a?(CustomerVault::Individual)
7
7
  = render partial: 'customer_vault/individuals/list_details', locals: {i: target, person: person, link: link[:origin]}
8
8
 
9
- - if target.instance_of? CustomerVault::Corporation
9
+ - if target.is_a?(CustomerVault::Corporation)
10
10
  = render partial: 'customer_vault/corporations/list_details', locals: {c: target, person: person, link: link[:origin]}
11
11
 
12
12
  .center
13
- = link_to 'New link', customer_vault.new_individual_link_path(person), class: "btn btn-success", id: 'new-link'
14
-
13
+ - if person.is_a?(CustomerVault::Individual)
14
+ = link_to 'New link', customer_vault.new_individual_link_path(person), class: "btn btn-success", id: 'new-link'
15
+
16
+ - if person.is_a?(CustomerVault::Corporation)
17
+ = link_to 'New link', customer_vault.new_corporation_link_path(person), class: "btn btn-success", id: 'new-link'
@@ -1,3 +1,3 @@
1
1
  module CustomerVault
2
- VERSION = "1.2.3"
2
+ VERSION = "1.2.4"
3
3
  end
Binary file
@@ -19300,3 +19300,342 @@ Processing by CustomerVault::PeopleController#index as HTML
19300
19300
  Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_contextual.html.slim (0.5ms)
19301
19301
  Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/index.html.slim within layouts/application (30.2ms)
19302
19302
  Completed 200 OK in 121ms (Views: 44.5ms | ActiveRecord: 2.7ms)
19303
+
19304
+
19305
+ Started GET "/" for 127.0.0.1 at 2015-03-31 09:10:14 +0200
19306
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
19307
+ Processing by Rails::WelcomeController#index as HTML
19308
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/railties-4.0.13/lib/rails/templates/rails/welcome/index.html.erb (8.2ms)
19309
+ Completed 200 OK in 78ms (Views: 36.4ms | ActiveRecord: 0.0ms)
19310
+
19311
+
19312
+ Started GET "/customer_vault/people" for 127.0.0.1 at 2015-03-31 09:10:18 +0200
19313
+ Processing by CustomerVault::PeopleController#index as HTML
19314
+ CustomerVault::Individual Load (0.6ms) SELECT "customer_vault_individuals".* FROM "customer_vault_individuals"
19315
+ CustomerVault::Corporation Load (0.7ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations"
19316
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (7.9ms)
19317
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (1.0ms)
19318
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (0.6ms)
19319
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (0.9ms)
19320
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/individuals/_list_details.html.slim (10.9ms)
19321
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (1.1ms)
19322
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/individuals/_list_details.html.slim (0.7ms)
19323
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (1.0ms)
19324
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_contextual.html.slim (6.7ms)
19325
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/index.html.slim within layouts/application (114.8ms)
19326
+ Completed 200 OK in 501ms (Views: 383.8ms | ActiveRecord: 2.3ms)
19327
+
19328
+
19329
+ Started GET "/customer_vault/corporations/1" for 127.0.0.1 at 2015-03-31 09:10:18 +0200
19330
+ Processing by CustomerVault::CorporationsController#show as HTML
19331
+ Parameters: {"id"=>"1"}
19332
+ CustomerVault::Corporation Load (0.4ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations" WHERE "customer_vault_corporations"."id" = ? LIMIT 1 [["id", "1"]]
19333
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_actions.html.slim (9.2ms)
19334
+ Dorsale::Address Load (8.5ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "CustomerVault::Corporation"]]
19335
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_show_details.html.slim (132.2ms)
19336
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show_details.html.slim (145.4ms)
19337
+ CustomerVault::Link Load (0.2ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."alice_id" = 1 AND "customer_vault_links"."alice_type" = 'CustomerVault::Corporation'
19338
+ CustomerVault::Link Load (0.2ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."bob_id" = 1 AND "customer_vault_links"."bob_type" = 'CustomerVault::Corporation'
19339
+ CustomerVault::Individual Load (0.3ms) SELECT "customer_vault_individuals".* FROM "customer_vault_individuals" WHERE "customer_vault_individuals"."id" = ? LIMIT 1 [["id", 1]]
19340
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/links/_title.html.slim (9.6ms)
19341
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/individuals/_list_details.html.slim (22.8ms)
19342
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_links_tab.html.slim (106.7ms)
19343
+ Dorsale::Comment Load (0.9ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_id" = ? AND "dorsale_comments"."commentable_type" = ? [["commentable_id", 1], ["commentable_type", "CustomerVault::Corporation"]]
19344
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_comments.html.slim (30.4ms)
19345
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_form.html.slim (315.9ms)
19346
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_history_tab.html.slim (357.2ms)
19347
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_todos_tab.html.slim (4.2ms)
19348
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_contextual.html.slim (0.2ms)
19349
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show.html.slim (646.7ms)
19350
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/show.html.slim within layouts/application (655.2ms)
19351
+ Completed 200 OK in 683ms (Views: 666.0ms | ActiveRecord: 12.5ms)
19352
+
19353
+
19354
+ Started GET "/customer_vault/people" for 127.0.0.1 at 2015-03-31 09:10:21 +0200
19355
+ Processing by CustomerVault::PeopleController#index as HTML
19356
+ CustomerVault::Individual Load (0.3ms) SELECT "customer_vault_individuals".* FROM "customer_vault_individuals"
19357
+ CustomerVault::Corporation Load (0.2ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations"
19358
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (9.6ms)
19359
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (0.9ms)
19360
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (0.8ms)
19361
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (0.8ms)
19362
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/individuals/_list_details.html.slim (9.7ms)
19363
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (0.8ms)
19364
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/individuals/_list_details.html.slim (0.9ms)
19365
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_list_details.html.slim (0.9ms)
19366
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_contextual.html.slim (5.5ms)
19367
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/index.html.slim within layouts/application (88.5ms)
19368
+ Completed 200 OK in 165ms (Views: 160.9ms | ActiveRecord: 0.5ms)
19369
+
19370
+
19371
+ Started GET "/customer_vault/corporations/3" for 127.0.0.1 at 2015-03-31 09:10:23 +0200
19372
+ Processing by CustomerVault::CorporationsController#show as HTML
19373
+ Parameters: {"id"=>"3"}
19374
+ CustomerVault::Corporation Load (0.2ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations" WHERE "customer_vault_corporations"."id" = ? LIMIT 1 [["id", "3"]]
19375
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_actions.html.slim (6.2ms)
19376
+ Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 3], ["addressable_type", "CustomerVault::Corporation"]]
19377
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_show_details.html.slim (14.2ms)
19378
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show_details.html.slim (19.9ms)
19379
+ CustomerVault::Link Load (0.2ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."alice_id" = 3 AND "customer_vault_links"."alice_type" = 'CustomerVault::Corporation'
19380
+ CustomerVault::Link Load (0.2ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."bob_id" = 3 AND "customer_vault_links"."bob_type" = 'CustomerVault::Corporation'
19381
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_links_tab.html.slim (6.9ms)
19382
+ Dorsale::Comment Load (0.2ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_id" = ? AND "dorsale_comments"."commentable_type" = ? [["commentable_id", 3], ["commentable_type", "CustomerVault::Corporation"]]
19383
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_comments.html.slim (14.7ms)
19384
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_form.html.slim (7.7ms)
19385
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_history_tab.html.slim (29.3ms)
19386
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_todos_tab.html.slim (3.4ms)
19387
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_contextual.html.slim (0.2ms)
19388
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show.html.slim (79.6ms)
19389
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/show.html.slim within layouts/application (86.4ms)
19390
+ Completed 200 OK in 103ms (Views: 100.1ms | ActiveRecord: 0.9ms)
19391
+
19392
+
19393
+ Started GET "/customer_vault/corporations/3" for 127.0.0.1 at 2015-03-31 09:16:38 +0200
19394
+ Processing by CustomerVault::CorporationsController#show as HTML
19395
+ Parameters: {"id"=>"3"}
19396
+ CustomerVault::Corporation Load (0.2ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations" WHERE "customer_vault_corporations"."id" = ? LIMIT 1 [["id", "3"]]
19397
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_actions.html.slim (0.4ms)
19398
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 3], ["addressable_type", "CustomerVault::Corporation"]]
19399
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_show_details.html.slim (3.5ms)
19400
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show_details.html.slim (5.3ms)
19401
+ CustomerVault::Link Load (0.2ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."alice_id" = 3 AND "customer_vault_links"."alice_type" = 'CustomerVault::Corporation'
19402
+ CustomerVault::Link Load (0.2ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."bob_id" = 3 AND "customer_vault_links"."bob_type" = 'CustomerVault::Corporation'
19403
+ CACHE (0.0ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."alice_id" = 3 AND "customer_vault_links"."alice_type" = 'CustomerVault::Corporation'
19404
+ CACHE (0.0ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."bob_id" = 3 AND "customer_vault_links"."bob_type" = 'CustomerVault::Corporation'
19405
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_links_tab.html.slim (52.3ms)
19406
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show.html.slim (62.4ms)
19407
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/show.html.slim within layouts/application (64.3ms)
19408
+ Completed 500 Internal Server Error in 73ms
19409
+
19410
+ ActionView::Template::Error (undefined method `new' for []:Array):
19411
+ 10: = render partial: 'customer_vault/corporations/list_details', locals: {c: target, person: person, link: link[:origin]}
19412
+ 11:
19413
+ 12: .center
19414
+ 13: = link_to 'New link', customer_vault.new_polymorphic_path(person, person.links.new), class: "btn btn-success", id: 'new-link'
19415
+ /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_links_tab.html.slim:13:in `___sers_benoit_www_agilidee_customer_vault_app_views_customer_vault_people__links_tab_html_slim___3933674568261249333_70175111675540'
19416
+ actionpack (4.0.13) lib/action_view/template.rb:143:in `block in render'
19417
+ activesupport (4.0.13) lib/active_support/notifications.rb:161:in `instrument'
19418
+ actionpack (4.0.13) lib/action_view/template.rb:141:in `render'
19419
+ actionpack (4.0.13) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
19420
+ actionpack (4.0.13) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
19421
+ actionpack (4.0.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
19422
+ activesupport (4.0.13) lib/active_support/notifications.rb:159:in `block in instrument'
19423
+ activesupport (4.0.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19424
+ activesupport (4.0.13) lib/active_support/notifications.rb:159:in `instrument'
19425
+ actionpack (4.0.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
19426
+ actionpack (4.0.13) lib/action_view/renderer/partial_renderer.rb:278:in `render'
19427
+ actionpack (4.0.13) lib/action_view/renderer/renderer.rb:47:in `render_partial'
19428
+ actionpack (4.0.13) lib/action_view/renderer/renderer.rb:21:in `render'
19429
+ actionpack (4.0.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
19430
+ /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show.html.slim:24:in `block in ___sers_benoit_www_agilidee_customer_vault_app_views_customer_vault_people__show_html_slim___1830585626767979786_70175111135600'
19431
+ actionpack (4.0.13) lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
19432
+ actionpack (4.0.13) lib/action_view/helpers/capture_helper.rb:200:in `with_output_buffer'
19433
+ actionpack (4.0.13) lib/action_view/helpers/capture_helper.rb:38:in `capture'
19434
+ actionpack (4.0.13) lib/action_view/helpers/capture_helper.rb:152:in `content_for'
19435
+ /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show.html.slim:13:in `___sers_benoit_www_agilidee_customer_vault_app_views_customer_vault_people__show_html_slim___1830585626767979786_70175111135600'
19436
+ actionpack (4.0.13) lib/action_view/template.rb:143:in `block in render'
19437
+ activesupport (4.0.13) lib/active_support/notifications.rb:161:in `instrument'
19438
+ actionpack (4.0.13) lib/action_view/template.rb:141:in `render'
19439
+ actionpack (4.0.13) lib/action_view/renderer/partial_renderer.rb:306:in `render_partial'
19440
+ actionpack (4.0.13) lib/action_view/renderer/partial_renderer.rb:279:in `block in render'
19441
+ actionpack (4.0.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
19442
+ activesupport (4.0.13) lib/active_support/notifications.rb:159:in `block in instrument'
19443
+ activesupport (4.0.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19444
+ activesupport (4.0.13) lib/active_support/notifications.rb:159:in `instrument'
19445
+ actionpack (4.0.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
19446
+ actionpack (4.0.13) lib/action_view/renderer/partial_renderer.rb:278:in `render'
19447
+ actionpack (4.0.13) lib/action_view/renderer/renderer.rb:47:in `render_partial'
19448
+ actionpack (4.0.13) lib/action_view/renderer/renderer.rb:21:in `render'
19449
+ actionpack (4.0.13) lib/action_view/helpers/rendering_helper.rb:24:in `render'
19450
+ /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/show.html.slim:1:in `___sers_benoit_www_agilidee_customer_vault_app_views_customer_vault_corporations_show_html_slim__1623417328619422666_70175111067920'
19451
+ actionpack (4.0.13) lib/action_view/template.rb:143:in `block in render'
19452
+ activesupport (4.0.13) lib/active_support/notifications.rb:161:in `instrument'
19453
+ actionpack (4.0.13) lib/action_view/template.rb:141:in `render'
19454
+ actionpack (4.0.13) lib/action_view/renderer/template_renderer.rb:49:in `block (2 levels) in render_template'
19455
+ actionpack (4.0.13) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
19456
+ activesupport (4.0.13) lib/active_support/notifications.rb:159:in `block in instrument'
19457
+ activesupport (4.0.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19458
+ activesupport (4.0.13) lib/active_support/notifications.rb:159:in `instrument'
19459
+ actionpack (4.0.13) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
19460
+ actionpack (4.0.13) lib/action_view/renderer/template_renderer.rb:48:in `block in render_template'
19461
+ actionpack (4.0.13) lib/action_view/renderer/template_renderer.rb:56:in `render_with_layout'
19462
+ actionpack (4.0.13) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
19463
+ actionpack (4.0.13) lib/action_view/renderer/template_renderer.rb:17:in `render'
19464
+ actionpack (4.0.13) lib/action_view/renderer/renderer.rb:42:in `render_template'
19465
+ actionpack (4.0.13) lib/action_view/renderer/renderer.rb:23:in `render'
19466
+ actionpack (4.0.13) lib/abstract_controller/rendering.rb:127:in `_render_template'
19467
+ actionpack (4.0.13) lib/action_controller/metal/streaming.rb:219:in `_render_template'
19468
+ actionpack (4.0.13) lib/abstract_controller/rendering.rb:120:in `render_to_body'
19469
+ actionpack (4.0.13) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
19470
+ actionpack (4.0.13) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
19471
+ actionpack (4.0.13) lib/abstract_controller/rendering.rb:97:in `render'
19472
+ actionpack (4.0.13) lib/action_controller/metal/rendering.rb:16:in `render'
19473
+ actionpack (4.0.13) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
19474
+ activesupport (4.0.13) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
19475
+ /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
19476
+ activesupport (4.0.13) lib/active_support/core_ext/benchmark.rb:12:in `ms'
19477
+ actionpack (4.0.13) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
19478
+ actionpack (4.0.13) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
19479
+ activerecord (4.0.13) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
19480
+ actionpack (4.0.13) lib/action_controller/metal/instrumentation.rb:40:in `render'
19481
+ actionpack (4.0.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
19482
+ actionpack (4.0.13) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
19483
+ actionpack (4.0.13) lib/abstract_controller/base.rb:189:in `process_action'
19484
+ actionpack (4.0.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
19485
+ actionpack (4.0.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
19486
+ activesupport (4.0.13) lib/active_support/callbacks.rb:413:in `_run__1179798057247846716__process_action__callbacks'
19487
+ activesupport (4.0.13) lib/active_support/callbacks.rb:80:in `run_callbacks'
19488
+ actionpack (4.0.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
19489
+ actionpack (4.0.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
19490
+ actionpack (4.0.13) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
19491
+ activesupport (4.0.13) lib/active_support/notifications.rb:159:in `block in instrument'
19492
+ activesupport (4.0.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
19493
+ activesupport (4.0.13) lib/active_support/notifications.rb:159:in `instrument'
19494
+ actionpack (4.0.13) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
19495
+ actionpack (4.0.13) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
19496
+ activerecord (4.0.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
19497
+ actionpack (4.0.13) lib/abstract_controller/base.rb:136:in `process'
19498
+ actionpack (4.0.13) lib/abstract_controller/rendering.rb:44:in `process'
19499
+ actionpack (4.0.13) lib/action_controller/metal.rb:195:in `dispatch'
19500
+ actionpack (4.0.13) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
19501
+ actionpack (4.0.13) lib/action_controller/metal.rb:231:in `block in action'
19502
+ actionpack (4.0.13) lib/action_dispatch/routing/route_set.rb:82:in `call'
19503
+ actionpack (4.0.13) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
19504
+ actionpack (4.0.13) lib/action_dispatch/routing/route_set.rb:50:in `call'
19505
+ actionpack (4.0.13) lib/action_dispatch/journey/router.rb:71:in `block in call'
19506
+ actionpack (4.0.13) lib/action_dispatch/journey/router.rb:59:in `each'
19507
+ actionpack (4.0.13) lib/action_dispatch/journey/router.rb:59:in `call'
19508
+ actionpack (4.0.13) lib/action_dispatch/routing/route_set.rb:676:in `call'
19509
+ railties (4.0.13) lib/rails/engine.rb:511:in `call'
19510
+ railties (4.0.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
19511
+ actionpack (4.0.13) lib/action_dispatch/journey/router.rb:71:in `block in call'
19512
+ actionpack (4.0.13) lib/action_dispatch/journey/router.rb:59:in `each'
19513
+ actionpack (4.0.13) lib/action_dispatch/journey/router.rb:59:in `call'
19514
+ actionpack (4.0.13) lib/action_dispatch/routing/route_set.rb:676:in `call'
19515
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
19516
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
19517
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
19518
+ actionpack (4.0.13) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
19519
+ actionpack (4.0.13) lib/action_dispatch/middleware/flash.rb:241:in `call'
19520
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
19521
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
19522
+ actionpack (4.0.13) lib/action_dispatch/middleware/cookies.rb:486:in `call'
19523
+ activerecord (4.0.13) lib/active_record/query_cache.rb:36:in `call'
19524
+ activerecord (4.0.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
19525
+ activerecord (4.0.13) lib/active_record/migration.rb:373:in `call'
19526
+ actionpack (4.0.13) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
19527
+ activesupport (4.0.13) lib/active_support/callbacks.rb:373:in `_run__4333845572665993320__call__callbacks'
19528
+ activesupport (4.0.13) lib/active_support/callbacks.rb:80:in `run_callbacks'
19529
+ actionpack (4.0.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
19530
+ actionpack (4.0.13) lib/action_dispatch/middleware/reloader.rb:64:in `call'
19531
+ actionpack (4.0.13) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
19532
+ actionpack (4.0.13) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
19533
+ actionpack (4.0.13) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
19534
+ railties (4.0.13) lib/rails/rack/logger.rb:38:in `call_app'
19535
+ railties (4.0.13) lib/rails/rack/logger.rb:20:in `block in call'
19536
+ activesupport (4.0.13) lib/active_support/tagged_logging.rb:68:in `block in tagged'
19537
+ activesupport (4.0.13) lib/active_support/tagged_logging.rb:26:in `tagged'
19538
+ activesupport (4.0.13) lib/active_support/tagged_logging.rb:68:in `tagged'
19539
+ railties (4.0.13) lib/rails/rack/logger.rb:20:in `call'
19540
+ quiet_assets (1.0.3) lib/quiet_assets.rb:23:in `call_with_quiet_assets'
19541
+ actionpack (4.0.13) lib/action_dispatch/middleware/request_id.rb:21:in `call'
19542
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
19543
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
19544
+ activesupport (4.0.13) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
19545
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19546
+ actionpack (4.0.13) lib/action_dispatch/middleware/static.rb:84:in `call'
19547
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
19548
+ railties (4.0.13) lib/rails/engine.rb:511:in `call'
19549
+ railties (4.0.13) lib/rails/application.rb:97:in `call'
19550
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
19551
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
19552
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
19553
+ /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
19554
+ /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
19555
+ /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
19556
+
19557
+
19558
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
19559
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
19560
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/actionpack-4.0.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.6ms)
19561
+
19562
+
19563
+ Started GET "/customer_vault/corporations/3" for 127.0.0.1 at 2015-03-31 09:17:27 +0200
19564
+ Processing by CustomerVault::CorporationsController#show as HTML
19565
+ Parameters: {"id"=>"3"}
19566
+ CustomerVault::Corporation Load (0.2ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations" WHERE "customer_vault_corporations"."id" = ? LIMIT 1 [["id", "3"]]
19567
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_actions.html.slim (0.4ms)
19568
+ Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 3], ["addressable_type", "CustomerVault::Corporation"]]
19569
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_show_details.html.slim (3.9ms)
19570
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show_details.html.slim (5.8ms)
19571
+ CustomerVault::Link Load (0.3ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."alice_id" = 3 AND "customer_vault_links"."alice_type" = 'CustomerVault::Corporation'
19572
+ CustomerVault::Link Load (0.2ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."bob_id" = 3 AND "customer_vault_links"."bob_type" = 'CustomerVault::Corporation'
19573
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_links_tab.html.slim (9.3ms)
19574
+ Dorsale::Comment Load (0.3ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_id" = ? AND "dorsale_comments"."commentable_type" = ? [["commentable_id", 3], ["commentable_type", "CustomerVault::Corporation"]]
19575
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_comments.html.slim (4.7ms)
19576
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_form.html.slim (2.9ms)
19577
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_history_tab.html.slim (9.8ms)
19578
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_todos_tab.html.slim (0.1ms)
19579
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_contextual.html.slim (0.2ms)
19580
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show.html.slim (35.3ms)
19581
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/show.html.slim within layouts/application (37.0ms)
19582
+ Completed 200 OK in 54ms (Views: 50.4ms | ActiveRecord: 1.2ms)
19583
+
19584
+
19585
+ Started GET "/customer_vault/corporations/3" for 127.0.0.1 at 2015-03-31 09:17:38 +0200
19586
+ Processing by CustomerVault::CorporationsController#show as HTML
19587
+ Parameters: {"id"=>"3"}
19588
+ CustomerVault::Corporation Load (0.1ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations" WHERE "customer_vault_corporations"."id" = ? LIMIT 1 [["id", "3"]]
19589
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_actions.html.slim (0.7ms)
19590
+ Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 3], ["addressable_type", "CustomerVault::Corporation"]]
19591
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_show_details.html.slim (5.1ms)
19592
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show_details.html.slim (7.0ms)
19593
+ CustomerVault::Link Load (0.2ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."alice_id" = 3 AND "customer_vault_links"."alice_type" = 'CustomerVault::Corporation'
19594
+ CustomerVault::Link Load (0.1ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."bob_id" = 3 AND "customer_vault_links"."bob_type" = 'CustomerVault::Corporation'
19595
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_links_tab.html.slim (7.1ms)
19596
+ Dorsale::Comment Load (0.3ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_id" = ? AND "dorsale_comments"."commentable_type" = ? [["commentable_id", 3], ["commentable_type", "CustomerVault::Corporation"]]
19597
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_comments.html.slim (4.9ms)
19598
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_form.html.slim (3.3ms)
19599
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_history_tab.html.slim (10.2ms)
19600
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_todos_tab.html.slim (0.1ms)
19601
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_contextual.html.slim (0.2ms)
19602
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show.html.slim (33.8ms)
19603
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/show.html.slim within layouts/application (35.6ms)
19604
+ Completed 200 OK in 86ms (Views: 83.5ms | ActiveRecord: 0.9ms)
19605
+
19606
+
19607
+ Started GET "/customer_vault/corporations/3/links/new" for 127.0.0.1 at 2015-03-31 09:17:45 +0200
19608
+ Processing by CustomerVault::LinksController#new as HTML
19609
+ Parameters: {"corporation_id"=>"3"}
19610
+ CustomerVault::Corporation Load (0.1ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations" WHERE "customer_vault_corporations"."id" = ? LIMIT 1 [["id", "3"]]
19611
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_actions.html.slim (0.4ms)
19612
+ Dorsale::Address Load (0.1ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 3], ["addressable_type", "CustomerVault::Corporation"]]
19613
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_show_details.html.slim (4.3ms)
19614
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show_details.html.slim (7.0ms)
19615
+ CustomerVault::Individual Load (0.2ms) SELECT "customer_vault_individuals".* FROM "customer_vault_individuals"
19616
+ CustomerVault::Corporation Load (0.1ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations"
19617
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_contextual.html.slim (0.3ms)
19618
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/links/new.html.slim within layouts/application (31.5ms)
19619
+ Completed 200 OK in 48ms (Views: 45.7ms | ActiveRecord: 0.6ms)
19620
+
19621
+
19622
+ Started GET "/customer_vault/corporations/3" for 127.0.0.1 at 2015-03-31 09:18:00 +0200
19623
+ Processing by CustomerVault::CorporationsController#show as HTML
19624
+ Parameters: {"id"=>"3"}
19625
+ CustomerVault::Corporation Load (0.2ms) SELECT "customer_vault_corporations".* FROM "customer_vault_corporations" WHERE "customer_vault_corporations"."id" = ? LIMIT 1 [["id", "3"]]
19626
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_actions.html.slim (0.7ms)
19627
+ Dorsale::Address Load (0.2ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 3], ["addressable_type", "CustomerVault::Corporation"]]
19628
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/_show_details.html.slim (5.2ms)
19629
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show_details.html.slim (7.1ms)
19630
+ CustomerVault::Link Load (0.2ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."alice_id" = 3 AND "customer_vault_links"."alice_type" = 'CustomerVault::Corporation'
19631
+ CustomerVault::Link Load (0.1ms) SELECT "customer_vault_links".* FROM "customer_vault_links" WHERE "customer_vault_links"."bob_id" = 3 AND "customer_vault_links"."bob_type" = 'CustomerVault::Corporation'
19632
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_links_tab.html.slim (6.0ms)
19633
+ Dorsale::Comment Load (0.1ms) SELECT "dorsale_comments".* FROM "dorsale_comments" WHERE "dorsale_comments"."commentable_id" = ? AND "dorsale_comments"."commentable_type" = ? [["commentable_id", 3], ["commentable_type", "CustomerVault::Corporation"]]
19634
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_comments.html.slim (4.2ms)
19635
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/dorsale-1.0.4/app/views/dorsale/comments/_form.html.slim (4.6ms)
19636
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_history_tab.html.slim (11.0ms)
19637
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_todos_tab.html.slim (0.1ms)
19638
+ Rendered /Users/benoit/.rbenv/versions/1.9.3-p551/lib/ruby/gems/1.9.1/gems/agilidee_commons-1.0.5/app/views/agilidee_commons/_contextual.html.slim (0.2ms)
19639
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/people/_show.html.slim (34.6ms)
19640
+ Rendered /Users/benoit/www/agilidee/customer_vault/app/views/customer_vault/corporations/show.html.slim within layouts/application (36.4ms)
19641
+ Completed 200 OK in 52ms (Views: 49.0ms | ActiveRecord: 0.8ms)