spec/dummy/log/development.log in dorsale-2.5.0 vs spec/dummy/log/development.log in dorsale-2.6.0

- old
+ new

@@ -12376,5 +12376,7575 @@ UNION ALL SELECT sql FROM sqlite_temp_master WHERE name='index_users_on_email' AND type='index' + + +Started GET "/" for ::1 at 2016-04-07 09:08:31 +0200 + ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by HomeController#home as HTML + Rendered home/home.html.slim within layouts/application (16.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (3.1ms) +Completed 200 OK in 7146ms (Views: 7134.5ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:08:38 +0200 + + +Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:09:13 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#index as HTML + Dorsale::CustomerVault::Individual Load (1.1ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.7ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.8ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (1250.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (17.0ms) + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (51.8ms) +  (0.6ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (1353.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 1583ms (Views: 1521.9ms | ActiveRecord: 5.0ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:09:19 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::Address Load (0.7ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (1.0ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (15.9ms) + Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (96.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (108.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) +Completed 200 OK in 283ms (Views: 267.1ms | ActiveRecord: 3.3ms) + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:09:25 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.6ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (9.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (125.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (135.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.5ms) +Completed 200 OK in 307ms (Views: 285.7ms | ActiveRecord: 2.5ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:10:17 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) + Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (23.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 175ms (Views: 170.8ms | ActiveRecord: 0.9ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:22:40 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) + Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (40.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (47.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 310ms (Views: 188.0ms | ActiveRecord: 3.6ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:22:41 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:22:50 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (9.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (44.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (52.1ms) +Completed 500 Internal Server Error in 227ms (ActiveRecord: 3.8ms) + +ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = euros line.unit_price + 17: + 18: td.line-total + 19: = euros line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157805979720' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157735067840' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157735067840' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.1ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.4ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (88.4ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:23:42 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (5.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (58.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (65.7ms) +Completed 500 Internal Server Error in 261ms (ActiveRecord: 3.8ms) + +ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = euros line.unit_price + 17: + 18: td.line-total + 19: = euros line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157805979720' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.4ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (89.8ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:24:03 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (5.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (15.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (22.6ms) +Completed 500 Internal Server Error in 65ms (ActiveRecord: 0.7ms) + +ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = euros line.unit_price + 17: + 18: td.line-total + 19: = euros line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157805979720' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.8ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (82.7ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:24:15 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (71.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (82.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (89.7ms) +Completed 500 Internal Server Error in 149ms (ActiveRecord: 3.4ms) + +ActionView::Template::Error (undefined method `currency' for #<Dorsale::BillingMachine::InvoicesController:0x007f9dc9380bd0>): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = bm_currency line.unit_price + 17: + 18: td.line-total + 19: = bm_currency line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157834062660' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.8ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (82.5ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:24:35 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (32.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (43.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (50.0ms) +Completed 500 Internal Server Error in 94ms (ActiveRecord: 1.3ms) + +ActionView::Template::Error (undefined method `currency' for #<Dorsale::BillingMachine::InvoicesController:0x007f9dbdece6b0>): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = bm_currency line.unit_price + 17: + 18: td.line-total + 19: = bm_currency line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___2754358394509078340_70157834062660' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___1697179364426384628_70157729586000' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___3101118851111865421_70157731044700' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.0ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (82.3ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:25:05 +0200 + ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (70.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (156.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (1181.5ms) +Completed 500 Internal Server Error in 1307ms (ActiveRecord: 4.9ms) + +ActionView::Template::Error (undefined method `currency' for #<Dorsale::BillingMachine::InvoicesController:0x007f99662b2af8>): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = bm_currency line.unit_price + 17: + 18: td.line-total + 19: = bm_currency line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.1ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (90.0ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:25:08 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (28.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (49.3ms) +Completed 500 Internal Server Error in 96ms (ActiveRecord: 1.3ms) + +ActionView::Template::Error (undefined method `currency' for #<Dorsale::BillingMachine::InvoicesController:0x007f9964a619b8>): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = bm_currency line.unit_price + 17: + 18: td.line-total + 19: = bm_currency line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (84.3ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:25:38 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::Address Load (0.5ms) SELECT "dorsale_addresses".* FROM "dorsale_addresses" WHERE "dorsale_addresses"."addressable_id" = ? AND "dorsale_addresses"."addressable_type" = ? LIMIT 1 [["addressable_id", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (75.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (120.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (129.1ms) +Completed 500 Internal Server Error in 322ms (ActiveRecord: 7.2ms) + +ActionView::Template::Error (undefined method `currency' for #<Dorsale::BillingMachine::InvoicesController:0x007f99664932f0>): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = bm_currency line.unit_price + 17: + 18: td.line-total + 19: = bm_currency line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.8ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (86.7ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:01 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (6.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (35.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (42.8ms) +Completed 500 Internal Server Error in 214ms (ActiveRecord: 3.6ms) + +ActionView::Template::Error (undefined method `t' for Dorsale::AllHelpers:Module): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = bm_currency line.unit_price + 17: + 18: td.line-total + 19: = bm_currency line.total + /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/text_helper.rb:13:in `currency' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.7ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (87.2ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:20 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.7ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (46.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (55.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (5.3ms) +Completed 200 OK in 733ms (Views: 593.4ms | ActiveRecord: 4.2ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:26:21 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:26:22 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:40 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (64.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (116.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (123.4ms) +Completed 500 Internal Server Error in 376ms (ActiveRecord: 6.1ms) + +ActionView::Template::Error (undefined method `currency' for #<Dorsale::BillingMachine::InvoicesController:0x007f9967324170>): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = bm_currency line.unit_price + 17: + 18: td.line-total + 19: = bm_currency line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.1ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (84.8ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:42 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (30.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (42.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (50.8ms) +Completed 500 Internal Server Error in 97ms (ActiveRecord: 1.2ms) + +ActionView::Template::Error (undefined method `currency' for #<Dorsale::BillingMachine::InvoicesController:0x007f996eb53f38>): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = bm_currency line.unit_price + 17: + 18: td.line-total + 19: = bm_currency line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.5ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (85.9ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:26:56 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Dorsale::BillingMachine::IdCard Load (0.5ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (78.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (111.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (118.7ms) +Completed 500 Internal Server Error in 304ms (ActiveRecord: 6.0ms) + +ActionView::Template::Error (undefined method `currency' for #<Dorsale::BillingMachine::InvoicesController:0x007f996ef59ad8>): + 13: = percentage(line.vat_rate) + 14: + 15: td.line-unit_price + 16: = bm_currency line.unit_price + 17: + 18: td.line-total + 19: = bm_currency line.total + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:13:in `bm_currency' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `bm_currency' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim:16:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__line_details_html_slim___3452074024287772964_70148418758140' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:61:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + activerecord (4.2.4) lib/active_record/relation/delegation.rb:46:in `each' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim:60:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__details_html_slim___3254638409777574829_70148407565180' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim:18:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_show_html_slim___225562952977755477_70148384383120' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:83:in `show' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.8ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.3ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (83.9ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:27:09 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.4ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (41.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (49.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 331ms (Views: 195.9ms | ActiveRecord: 3.9ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:27:10 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:27:12 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (13.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (203.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (214.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (2.8ms) +Completed 200 OK in 404ms (Views: 387.7ms | ActiveRecord: 1.8ms) + + +Started GET "/dorsale/billing_machine/invoices/4" for ::1 at 2016-04-07 09:29:11 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.6ms) + Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (16.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (25.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 178ms (Views: 174.2ms | ActiveRecord: 0.8ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:29:11 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:29:12 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:29:12 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:29:15 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.5ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (55.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (62.9ms) +Completed 500 Internal Server Error in 111ms (ActiveRecord: 1.7ms) + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::BillingMachine): + 67: + 68: td.commercial_discount + 69: = f.text_field :commercial_discount, class: "number" + 70: span.unit = BillingMachine.default_currency + 71: + 72: tr + 73: th.total_excluding_taxes-label + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:70:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1131966717277580736_70148485802900' + actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' + actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer' + actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:38:in `capture' + actionview (4.2.4) lib/action_view/helpers/form_helper.rb:444:in `form_for' + bh (1.3.6) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' + simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' + simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' + simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' + /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/form_helper.rb:41:in `horizontal_form_for' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1131966717277580736_70148485802900' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_edit_html_slim__4586206233835234981_70148487096860' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.1ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (83.1ms) + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:29:15 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.6ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (68.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (76.6ms) +Completed 500 Internal Server Error in 120ms (ActiveRecord: 1.2ms) + +ActionView::Template::Error (uninitialized constant ActionView::CompiledTemplates::BillingMachine): + 67: + 68: td.commercial_discount + 69: = f.text_field :commercial_discount, class: "number" + 70: span.unit = BillingMachine.default_currency + 71: + 72: tr + 73: th.total_excluding_taxes-label + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:70:in `block in ___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1131966717277580736_70148463364640' + actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:38:in `block in capture' + actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer' + actionview (4.2.4) lib/action_view/helpers/capture_helper.rb:38:in `capture' + actionview (4.2.4) lib/action_view/helpers/form_helper.rb:444:in `form_for' + bh (1.3.6) lib/bh/core_ext/rails/form_for_helper.rb:13:in `form_for' + simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:26:in `block in simple_form_for' + simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:45:in `with_simple_form_field_error_proc' + simple_form (3.2.1) lib/simple_form/action_view_extensions/form_helper.rb:25:in `simple_form_for' + /Users/benoit/www/agilidee/dorsale/app/helpers/dorsale/form_helper.rb:41:in `horizontal_form_for' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__form_html_slim__1131966717277580736_70148463364640' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim:2:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_edit_html_slim__4586206233835234981_70148417227480' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.2ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (82.3ms) + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:29:24 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (54.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (58.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 223ms (Views: 216.7ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:29:25 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:29:46 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (43.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (47.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 222ms (Views: 217.0ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:29:46 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:29:47 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:29:47 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:29:47 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:29:47 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:29:47 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:30:07 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (51.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (58.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 227ms (Views: 220.9ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:30:07 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:30:08 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:30:08 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:31:04 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.3ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (66.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (71.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 385ms (Views: 232.5ms | ActiveRecord: 4.5ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:31:05 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:31:17 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (71.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (77.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 378ms (Views: 226.2ms | ActiveRecord: 6.7ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:31:18 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:31:37 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (72.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (77.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 398ms (Views: 249.6ms | ActiveRecord: 4.9ms) + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:31:38 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:31:39 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:31:39 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:31:50 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (1.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (78.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (83.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 385ms (Views: 233.4ms | ActiveRecord: 5.3ms) + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:31:50 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:31:51 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:31:51 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:31:55 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:32:21 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 195ms (Views: 189.0ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:32:21 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:32:22 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:33:07 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (40.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 244ms (Views: 236.9ms | ActiveRecord: 1.4ms) + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:33:08 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (41.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (47.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 244ms (Views: 236.9ms | ActiveRecord: 1.5ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:33:10 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:33:11 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:33:42 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (92.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (97.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 434ms (Views: 274.6ms | ActiveRecord: 4.6ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:33:43 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:33:44 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:33:44 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:34:29 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.8ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.4ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (93.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (98.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 410ms (Views: 261.8ms | ActiveRecord: 4.9ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:34:30 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:35:36 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (97.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (101.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 420ms (Views: 258.0ms | ActiveRecord: 4.7ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:35:37 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:35:38 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:38:46 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (1.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (8.5ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (88.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (92.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 379ms (Views: 241.7ms | ActiveRecord: 4.7ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:38:47 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:38:48 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:38:48 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:39:02 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (3.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (80.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (90.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 417ms (Views: 254.0ms | ActiveRecord: 4.6ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:39:03 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:39:04 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:39:04 +0200 + + +Started GET "/dorsale/billing_machine/invoices/4/edit" for ::1 at 2016-04-07 09:39:13 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"4"} + Dorsale::CustomerVault::Individual Load (1.0ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 4]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 4]] + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 4]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (77.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (83.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 389ms (Views: 237.7ms | ActiveRecord: 5.4ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:39:14 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:39:15 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:39:15 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:39:28 +0200 + + +Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:40:15 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#index as HTML + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (10.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (8.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (33.1ms) +Completed 500 Internal Server Error in 84ms (ActiveRecord: 0.7ms) + +ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): + 1: .well + 2: .row.text-center + 3: .col-md-4 + 4: = info ::Dorsale::BillingMachine::Quotation, :total_excluding_taxes, euros(@total_excluding_taxes) + 5: .col-md-4 + 6: = info ::Dorsale::BillingMachine::Quotation, :vat_amount, euros(@vat_amount) + 7: .col-md-4 + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__header_infos_html_slim__3666411904477734388_70148458441700' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__2557712258513235793_70148421055080' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:41:in `index' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (11.8ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.9ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (88.9ms) + + +Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:40:15 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#index as HTML + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (5.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (5.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (19.8ms) +Completed 500 Internal Server Error in 63ms (ActiveRecord: 0.5ms) + +ActionView::Template::Error (you cannot use #euros in BillingMachine, please use #bm_currency instead): + 1: .well + 2: .row.text-center + 3: .col-md-4 + 4: = info ::Dorsale::BillingMachine::Quotation, :total_excluding_taxes, euros(@total_excluding_taxes) + 5: .col-md-4 + 6: = info ::Dorsale::BillingMachine::Quotation, :vat_amount, euros(@vat_amount) + 7: .col-md-4 + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/application_controller.rb:9:in `euros' + actionpack (4.2.4) lib/abstract_controller/helpers.rb:67:in `euros' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim:4:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices__header_infos_html_slim__3666411904477734388_70148458441700' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:310:in `block in render' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/partial_renderer.rb:309:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:47:in `render_partial' + actionview (4.2.4) lib/action_view/helpers/rendering_helper.rb:35:in `render' + /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim:5:in `___sers_benoit_www_agilidee_dorsale_app_views_dorsale_billing_machine_invoices_index_html_slim__2557712258513235793_70148421055080' + actionview (4.2.4) lib/action_view/template.rb:145:in `block in render' + activesupport (4.2.4) lib/active_support/notifications.rb:166:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:333:in `instrument' + actionview (4.2.4) lib/action_view/template.rb:143:in `render' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionview (4.2.4) lib/action_view/renderer/abstract_renderer.rb:39:in `instrument' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:53:in `block in render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:52:in `render_template' + actionview (4.2.4) lib/action_view/renderer/template_renderer.rb:14:in `render' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:42:in `render_template' + actionview (4.2.4) lib/action_view/renderer/renderer.rb:23:in `render' + actionview (4.2.4) lib/action_view/rendering.rb:100:in `_render_template' + actionpack (4.2.4) lib/action_controller/metal/streaming.rb:217:in `_render_template' + actionview (4.2.4) lib/action_view/rendering.rb:83:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body' + actionpack (4.2.4) lib/action_controller/metal/renderers.rb:37:in `render_to_body' + actionpack (4.2.4) lib/abstract_controller/rendering.rb:25:in `render' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/benchmark.rb:303:in `realtime' + activesupport (4.2.4) lib/active_support/core_ext/benchmark.rb:12:in `ms' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:44:in `block in render' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:43:in `render' + actionpack (4.2.4) lib/action_controller/metal/mime_responds.rb:217:in `respond_to' + /Users/benoit/www/agilidee/dorsale/app/controllers/dorsale/billing_machine/invoices_controller.rb:41:in `index' + actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call' + activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument' + activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument' + actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action' + actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' + activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process' + actionview (4.2.4) lib/action_view/rendering.rb:30:in `process' + actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' + actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/railtie.rb:194:in `public_send' + railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing' + actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each' + actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve' + actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call' + warden (1.2.3) lib/warden/manager.rb:35:in `block in call' + warden (1.2.3) lib/warden/manager.rb:34:in `catch' + warden (1.2.3) lib/warden/manager.rb:34:in `call' + rack (1.6.4) lib/rack/etag.rb:24:in `call' + rack (1.6.4) lib/rack/conditionalget.rb:25:in `call' + rack (1.6.4) lib/rack/head.rb:13:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call' + rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context' + rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call' + activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call' + activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call' + activerecord (4.2.4) lib/active_record/migration.rb:377:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' + activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__' + activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks' + activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' + railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged' + activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged' + railties (4.2.4) lib/rails/rack/logger.rb:20:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call' + rack (1.6.4) lib/rack/methodoverride.rb:22:in `call' + rack (1.6.4) lib/rack/runtime.rb:18:in `call' + activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call' + rack (1.6.4) lib/rack/sendfile.rb:113:in `call' + railties (4.2.4) lib/rails/engine.rb:518:in `call' + railties (4.2.4) lib/rails/application.rb:165:in `call' + rack (1.6.4) lib/rack/lock.rb:17:in `call' + rack (1.6.4) lib/rack/content_length.rb:15:in `call' + rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run' + /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread' + + + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (10.3ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.6ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms) + Rendered /Users/benoit/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (80.2ms) + + +Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:40:34 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#index as HTML + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (7.0ms) + Dorsale::BillingMachine::Invoice Load (0.4ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (20.4ms) +  (0.2ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (59.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 225ms (Views: 217.6ms | ActiveRecord: 1.6ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:40:34 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:40:35 +0200 + + +Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:41:32 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#index as HTML + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (2.4ms) + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.4ms) +  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (41.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4543ms (Views: 4537.6ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:41:37 +0200 + + +Started GET "/dorsale/billing_machine/invoices" for ::1 at 2016-04-07 09:41:43 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#index as HTML + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_filters.html.slim (6.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_header_infos.html.slim (1.9ms) + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" ORDER BY "dorsale_billing_machine_invoices"."unique_index" DESC LIMIT 50 OFFSET 0 + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + CACHE (0.0ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_list.html.slim (9.7ms) +  (0.1ms) SELECT COUNT(*) FROM "dorsale_billing_machine_invoices" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/index.html.slim within layouts/application (38.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4339ms (Views: 4332.7ms | ActiveRecord: 1.3ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:41:48 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-04-07 09:41:53 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (1.5ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (28.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (34.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 195ms (Views: 189.8ms | ActiveRecord: 1.6ms) + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:42:53 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.3ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (6.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (7.4ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (64.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (71.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 224ms (Views: 218.0ms | ActiveRecord: 1.3ms) + + +Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-07 09:42:56 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as PDF + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered text template (0.0ms) +Sent data Facture_2016-01_.pdf (4.3ms) +Completed 200 OK in 194ms (Views: 4.2ms | ActiveRecord: 1.0ms) + + +Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-07 09:42:57 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as PDF + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered text template (0.0ms) +Sent data Facture_2016-01_.pdf (0.7ms) +Completed 200 OK in 78ms (Views: 0.5ms | ActiveRecord: 1.4ms) + + +Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-07 09:43:34 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as PDF + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered text template (0.0ms) +Sent data Facture_2016-01_.pdf (0.9ms) +Completed 200 OK in 1092ms (Views: 0.8ms | ActiveRecord: 4.8ms) + + +Started GET "/dorsale/billing_machine/invoices/1.pdf" for ::1 at 2016-04-07 09:43:35 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as PDF + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Dorsale::BillingMachine::PaymentTerm Load (1.3ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered text template (0.0ms) +Sent data Facture_2016-01_.pdf (0.9ms) +Completed 200 OK in 127ms (Views: 0.8ms | ActiveRecord: 2.7ms) + + +Started GET "/dorsale/billing_machine/invoices/1" for ::1 at 2016-04-07 09:45:15 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#show as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" WHERE "dorsale_customer_vault_corporations"."id" = ? LIMIT 1 [["id", 1]] + 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", 1], ["addressable_type", "Dorsale::CustomerVault::Corporation"]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_details.html.slim (4.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" WHERE "dorsale_billing_machine_payment_terms"."id" = ? LIMIT 1 [["id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_details.html.slim (45.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/show.html.slim within layouts/application (52.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 328ms (Views: 194.9ms | ActiveRecord: 3.6ms) + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:45:16 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:46:05 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.7ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (79.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (87.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 408ms (Views: 251.3ms | ActiveRecord: 4.6ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:46:11 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:47:02 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.4ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (35.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (40.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4427ms (Views: 4418.9ms | ActiveRecord: 1.7ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:47:06 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:47:06 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:47:07 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:48:07 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (31.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4179ms (Views: 4173.7ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:48:11 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:48:20 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (38.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4348ms (Views: 4341.4ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:48:24 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:48:25 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:50:00 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) + Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (32.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (37.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4089ms (Views: 4082.2ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:50:04 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:50:28 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (41.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4391ms (Views: 4383.7ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:50:33 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:51:17 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (31.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (37.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4157ms (Views: 4149.8ms | ActiveRecord: 1.4ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:51:22 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:51:29 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (41.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (45.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4377ms (Views: 4370.4ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:51:33 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:51:33 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:51:33 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:51:33 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:51:34 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:52:08 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (32.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4151ms (Views: 4145.9ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:52:12 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:52:12 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:52:13 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:52:47 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (40.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 236ms (Views: 227.7ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:52:48 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:53:53 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (1.4ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.3ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.5ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (83.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (89.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 436ms (Views: 268.7ms | ActiveRecord: 5.9ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:53:54 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 09:54:18 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.3ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (2.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (75.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (80.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 376ms (Views: 232.2ms | ActiveRecord: 5.1ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 09:54:19 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 09:55:43 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:00:09 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.3ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (35.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (40.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4329ms (Views: 4321.6ms | ActiveRecord: 1.4ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:00:13 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:00:29 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (32.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 4252ms (Views: 4246.2ms | ActiveRecord: 1.3ms) + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:00:33 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:00:33 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:00:34 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:00:57 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (35.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (39.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 213ms (Views: 206.8ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:00:58 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:01:24 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.6ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (33.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4444ms (Views: 4436.2ms | ActiveRecord: 1.4ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:01:28 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:01:28 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:01:28 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:01:28 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:01:28 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:01:29 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:02:57 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4291ms (Views: 4285.1ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:03:01 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:03:02 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:03:02 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:03:02 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:03:02 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:03:14 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (44.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (49.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4263ms (Views: 4254.9ms | ActiveRecord: 1.4ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:03:18 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:03:19 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:03:53 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (37.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 243ms (Views: 236.0ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:03:53 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:03:54 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:03:59 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.5ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (39.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 255ms (Views: 247.0ms | ActiveRecord: 1.6ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:03:59 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:04:00 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:04:11 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.3ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.3ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (42.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (47.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4351ms (Views: 4341.2ms | ActiveRecord: 1.4ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:04:15 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:04:15 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:04:16 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:04:19 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (41.7ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (46.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 5281ms (Views: 5274.6ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:04:25 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:05:21 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.7ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (32.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (36.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4167ms (Views: 4161.5ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:05:25 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:05:25 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:05:25 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:05:26 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:05:35 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (37.5ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4548ms (Views: 4539.6ms | ActiveRecord: 1.4ms) + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:05:40 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:05:41 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:05:50 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (34.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (39.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.3ms) +Completed 200 OK in 4742ms (Views: 4736.6ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:05:55 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:06:01 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.3ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (40.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (44.6ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4758ms (Views: 4751.9ms | ActiveRecord: 1.2ms) + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:06:06 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:06:08 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (30.8ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (35.1ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.2ms) +Completed 200 OK in 204ms (Views: 198.4ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:06:08 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:06:13 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.1ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (33.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (38.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 4202ms (Views: 4196.5ms | ActiveRecord: 1.1ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:06:17 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:07:06 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.9ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.2ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.2ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.2ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.2ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.2ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.0ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (0.8ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (65.3ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (69.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 351ms (Views: 225.0ms | ActiveRecord: 4.2ms) + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:07:06 +0200 + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:07:06 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:07:07 +0200 + + +Started GET "/dorsale/billing_machine/invoices/1/edit" for ::1 at 2016-04-07 10:07:08 +0200 +Processing by Dorsale::BillingMachine::InvoicesController#edit as HTML + Parameters: {"id"=>"1"} + Dorsale::CustomerVault::Individual Load (0.2ms) SELECT "dorsale_customer_vault_individuals".* FROM "dorsale_customer_vault_individuals" + Dorsale::CustomerVault::Corporation Load (0.1ms) SELECT "dorsale_customer_vault_corporations".* FROM "dorsale_customer_vault_corporations" + Dorsale::BillingMachine::Invoice Load (0.1ms) SELECT "dorsale_billing_machine_invoices".* FROM "dorsale_billing_machine_invoices" WHERE "dorsale_billing_machine_invoices"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Exists (0.1ms) SELECT 1 AS one FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? LIMIT 1 [["invoice_id", 1]] + Dorsale::BillingMachine::IdCard Load (0.4ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" + Dorsale::BillingMachine::IdCard Load (0.1ms) SELECT "dorsale_billing_machine_id_cards".* FROM "dorsale_billing_machine_id_cards" WHERE "dorsale_billing_machine_id_cards"."id" = ? LIMIT 1 [["id", 1]] + Dorsale::BillingMachine::InvoiceLine Load (0.1ms) SELECT "dorsale_billing_machine_invoice_lines".* FROM "dorsale_billing_machine_invoice_lines" WHERE "dorsale_billing_machine_invoice_lines"."invoice_id" = ? ORDER BY "dorsale_billing_machine_invoice_lines"."created_at" ASC [["invoice_id", 1]] + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_line_fields.html.slim (1.2ms) + Dorsale::BillingMachine::PaymentTerm Load (0.2ms) SELECT "dorsale_billing_machine_payment_terms".* FROM "dorsale_billing_machine_payment_terms" + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/_form.html.slim (38.4ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/billing_machine/invoices/edit.html.slim within layouts/application (42.9ms) + Rendered /Users/benoit/www/agilidee/dorsale/app/views/dorsale/_flash.html.slim (0.1ms) +Completed 200 OK in 225ms (Views: 218.2ms | ActiveRecord: 1.4ms) + + +Started GET "/assets/jquery.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/jquery_ujs.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/cocoon.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/bootstrap.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/turbolinks.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/application.self.css?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/accounting.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/selectize.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/bootstrap-datepicker/core.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/bootstrap-datepicker/locales/bootstrap-datepicker.fr.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/dorsale/alexandrie/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/dorsale/comments.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/dorsale/billing_machine/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/dorsale/customer_vault/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/dorsale/datepicker.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/dorsale/flyboy/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/dorsale/forms.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/dorsale/tabs_loader.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/dorsale/all.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/application.self.js?body=1" for ::1 at 2016-04-07 10:07:09 +0200 + + +Started GET "/assets/font-awesome/fontawesome-webfont.woff2?v=4.5.0" for ::1 at 2016-04-07 10:07:09 +0200